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

This commit is contained in:
Michael Terry
2024-07-30 19:06:18 -04:00
parent 7462471c6b
commit 56f28c9bd5
32 changed files with 42 additions and 1 deletions

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 |
+-----+----------------------------------------------------+