mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 00:06:25 +00:00
bug not showing error messages
This commit is contained in:
parent
7ad6f7ce9e
commit
ac756dfbde
@ -30,7 +30,7 @@ var backupCmd = &cobra.Command{
|
||||
}
|
||||
location, _ := internal.GetLocation(splitted[0])
|
||||
errs := location.Backup(false, specificBackend)
|
||||
for err := range errs {
|
||||
for _, err := range errs {
|
||||
colors.Error.Println(err)
|
||||
errors++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user