mirror of
https://github.com/restic/restic.git
synced 2025-12-08 23:32:17 +00:00
Merge pull request #1778 from restic/fix-1771
archiver: Improve error handling
This commit is contained in:
@@ -467,7 +467,7 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
|
||||
p.V("start backup on %v", targets)
|
||||
_, id, err := arch.Snapshot(gopts.ctx, targets, snapshotOpts)
|
||||
if err != nil {
|
||||
return err
|
||||
return errors.Fatalf("unable to save snapshot: %v", err)
|
||||
}
|
||||
|
||||
p.Finish()
|
||||
|
||||
Reference in New Issue
Block a user