summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2017-10-13 12:06:51 +0200
committerTharre <tharre3@gmail.com>2017-10-13 12:06:51 +0200
commit924df4c162d1b42db769fffac613ff170c54c864 (patch)
treec84d502adf5980d36391c856ef81a17c2ef962b8
parent15a244be834df3ca29aabc3023227b3bb89815dd (diff)
downloaddotfiles-924df4c162d1b42db769fffac613ff170c54c864.tar.gz
dotfiles-924df4c162d1b42db769fffac613ff170c54c864.tar.xz
dotfiles-924df4c162d1b42db769fffac613ff170c54c864.zip
Kill gpg-agent again, this time via gpgconf
Reloading the gpg-agent does not seem to work.
-rwxr-xr-x.req_pwd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.req_pwd.sh b/.req_pwd.sh
index 28518b7..2a1c4bb 100755
--- a/.req_pwd.sh
+++ b/.req_pwd.sh
@@ -5,7 +5,7 @@
pass "$1" && exit
# maybe gpg-agent is acting up, retry after restarting it
-gpg-connect-agent reloadagent /bye >&2
+gpgconf --kill gpg-agent >&2
pass "$1" && exit
# if pass fails, request password manually