summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.req_pwd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.req_pwd.sh b/.req_pwd.sh
index 44bb634..28518b7 100755
--- a/.req_pwd.sh
+++ b/.req_pwd.sh
@@ -4,8 +4,8 @@
pass "$1" && exit
-# maybe gpg-agent is acting up, retry after killing it
-killall gpg-agent >&2
+# maybe gpg-agent is acting up, retry after restarting it
+gpg-connect-agent reloadagent /bye >&2
pass "$1" && exit
# if pass fails, request password manually