mirror of
https://github.com/restic/restic.git
synced 2024-08-09 14:03:25 +02:00
087c770161
errors.Fatalf wraps a error and just keeps an error message as a string. This prevents the `restic.IsAlreadyLocked(err)` check from working as the error is no longer an ErrAlreadyLocked. Just add an additional remark to the error using `errors.WithMessage`. |
||
---|---|---|
.. | ||
restic |