mirror of
https://github.com/restic/restic.git
synced 2025-12-03 22:01:46 +00:00
lock: cleanup error message
The error message is now `Fatal: unable to create lock in backend: [...]` instead of `unable to create lock in backend: Fatal: [...]`.
This commit is contained in:
@@ -146,7 +146,7 @@ func (l *Lock) checkForOtherLocks(ctx context.Context) error {
|
||||
// if we cannot load a lock then it is unclear whether it can be ignored
|
||||
// it could either be invalid or just unreadable due to network/permission problems
|
||||
debug.Log("ignore lock %v: %v", id, err)
|
||||
return errors.Fatal(err.Error())
|
||||
return err
|
||||
}
|
||||
|
||||
if l.Exclusive {
|
||||
|
||||
Reference in New Issue
Block a user