mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
Return error on backup
This commit is contained in:
parent
26d3949c8b
commit
84ad6cf4d2
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ func (cmd CmdBackup) Execute(args []string) error {
|
||||||
|
|
||||||
_, id, err := arch.Snapshot(target, newTree, parentSnapshotID)
|
_, id, err := arch.Snapshot(target, newTree, parentSnapshotID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
plen, err := s.PrefixLength(backend.Snapshot)
|
plen, err := s.PrefixLength(backend.Snapshot)
|
||||||
|
|
Loading…
Reference in a new issue