]> git.pld-linux.org Git - packages/gnupg2.git/commit
Check if /proc/pid/exe is symlink to /usr/bin/gpg-agent. That way we are 100% sure...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Aug 2016 15:17:07 +0000 (17:17 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Aug 2016 15:17:07 +0000 (17:17 +0200)
commit131032f063eb5da404ab75ac9f0e68d6fbdf60e0
tree55059a50902cf9c6563f35f3ab27bab99dc00192
parent178303086dcc17923b78da106f3bb622e8886595
Check if /proc/pid/exe is symlink to /usr/bin/gpg-agent. That way we are 100% sure that this is gpg-agent. Prevents script from failing if there is other process running with the same pid as stored in .gnupg/GPG_AGENT_INFO.
gnupg-agent.sh
This page took 0.168578 seconds and 4 git commands to generate.