bug not showing error messages

This commit is contained in:
cupcakearmy 2021-10-31 22:31:31 +01:00
parent 7ad6f7ce9e
commit ac756dfbde
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -30,7 +30,7 @@ var backupCmd = &cobra.Command{
} }
location, _ := internal.GetLocation(splitted[0]) location, _ := internal.GetLocation(splitted[0])
errs := location.Backup(false, specificBackend) errs := location.Backup(false, specificBackend)
for err := range errs { for _, err := range errs {
colors.Error.Println(err) colors.Error.Println(err)
errors++ errors++
} }