mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26: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])
|
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++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user