diff options
-rwxr-xr-x | .req_pwd.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.req_pwd.sh b/.req_pwd.sh index bce131b..44bb634 100755 --- a/.req_pwd.sh +++ b/.req_pwd.sh @@ -4,6 +4,10 @@ pass "$1" && exit +# maybe gpg-agent is acting up, retry after killing it +killall gpg-agent >&2 +pass "$1" && exit + # if pass fails, request password manually stty -echo printf "Password: " >&2 |