If `GPG_AGENT_PID` is unset, grep will succeed if another gpg-agent is running as it will match the string `gpg-agent` where the PID was an empty string. Set a default value for grep to a value that will never match if unset, i.e. -1.main
parent
3e88b8bcdc
commit
ea25ccf62c
Loading…
Reference in new issue