main: return an exit code (12) for "bad password" errors

This commit is contained in:
Michael Terry authored and Michael Eischer committed 2024-08-30 12:39:22 +02:00
1 parent 61e1f4a916
commit 48e3832322
32 files changed
+42 -1

No files matched your search

+2
View File
@@ -63,6 +63,8 @@ a more specific description.
+-----+----------------------------------------------------+
| 11 | Failed to lock repository (since restic 0.17.0) |
+-----+----------------------------------------------------+
| 12 | Wrong password (since restic 0.17.1) |
+-----+----------------------------------------------------+
| 130 | Restic was interrupted using SIGINT or SIGSTOP |
+-----+----------------------------------------------------+