mirror of
https://github.com/restic/restic.git
synced 2025-08-13 14:30:36 +00:00
Merge pull request #2307 from gary-kim/fix-2306-password-retries
Allow multiple retries for interactive password input
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
|
||||
var (
|
||||
// ErrNoKeyFound is returned when no key for the repository could be decrypted.
|
||||
ErrNoKeyFound = errors.Fatal("wrong password or no key found")
|
||||
ErrNoKeyFound = errors.New("wrong password or no key found")
|
||||
|
||||
// ErrMaxKeysReached is returned when the maximum number of keys was checked and no key could be found.
|
||||
ErrMaxKeysReached = errors.Fatal("maximum number of keys reached")
|
||||
|
Reference in New Issue
Block a user