Blame | Last modification | View Log | RSS feed
#!/bin/sh## The nice wayif test -n "${GPG_AGENT_INFO}"; thenGPG_AGENT_PID=`echo ${GPG_AGENT_INFO} | cut -d: -f2` && kill ${GPG_AGENT_PID} ||:unset GPG_AGENT_INFOfi## The not so nice way## NOTE: a root login will kill *all* users' gpg-agents#killall gpg-agent## clean/remove .gpg-agent-inform -f $HOME/.gpg-agent-info