bug not showing error messages

pull/124/head
cupcakearmy 3 years ago
parent 7ad6f7ce9e
commit ac756dfbde
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

@ -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…
Cancel
Save