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