2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-12 08:16:37 +00:00
restic/cmd/restic
Michael Eischer 087c770161 Revive hint to the unlock command if a repository is locked
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`.
2020-06-10 20:58:56 +02:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
acl_test.go Restore whole folder to sdtout as tar 2019-04-22 20:44:33 +02:00
acl.go Restore whole folder to sdtout as tar 2019-04-22 20:44:33 +02:00
cleanup.go Make all signal.Notify channels buffered 2020-03-12 20:59:39 +01:00
cmd_backup.go backup: Avoid race between password prompt and open repository message 2020-05-01 23:42:16 +02:00
cmd_cache.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_cat.go Centralize buffer allocation and size checking in Repository.LoadBlob 2020-04-23 10:04:20 +02:00
cmd_check.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_debug.go debug: don't load the repository index 2020-04-04 00:01:01 +02:00
cmd_diff.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_dump.go Centralize buffer allocation and size checking in Repository.LoadBlob 2020-04-23 10:04:20 +02:00
cmd_find.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_forget.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_generate.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_init.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_key.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_list.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_ls.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_migrate.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_mount.go Fix #2774 - make unable to umount message clearer 2020-06-07 15:57:39 +01:00
cmd_options.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_prune.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_rebuild_index.go rebuild_index: Report invalid packs that were ignored 2020-04-02 22:38:31 +02:00
cmd_recover.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_restore.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_self_update.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_snapshots.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_stats.go stats: Fix crash in blobs-per-file mode on missing blob 2020-03-27 22:17:54 +01:00
cmd_tag.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_unlock.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_version.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go Add tests for insensitive variants of filter methods 2018-11-25 13:32:16 +01:00
exclude.go Fix typos 2020-05-16 14:05:26 +08:00
find.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Display local time for all commands 2018-11-02 20:36:15 +01:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_test.go Ensure Print{,f,ln} use global stdout 2020-02-15 01:32:43 +01:00
global.go Fix shutdown hang when restic is started as background job 2020-04-12 22:27:09 +02:00
integration_fuse_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_test.go Revert "Darwin test fix: allow 1μs timestamp difference" 2020-05-01 17:11:30 +02:00
integration_helpers_unix_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_helpers_windows_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
local_layout_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
lock.go Revive hint to the unlock command if a repository is locked 2020-06-10 20:58:56 +02:00
main.go Add support for reading password from external command 2018-11-26 20:18:31 +01:00