Keep the GPG_AGENT_INFO environment variable on failure.
commit1cb653cbdf12a2b005262f6e2c268ef73425c4dd
authorBen Kibbey <bjk@luxsci.net>
Sun, 24 Feb 2013 20:18:03 +0000 (24 15:18 -0500)
committerBen Kibbey <bjk@luxsci.net>
Sun, 24 Feb 2013 20:18:03 +0000 (24 15:18 -0500)
treee986afd2d3f96f9eaae3c91f998aca7f01e40a07
parentb72a9a78311469bfb65145089f4e6a1a1a780577
Keep the GPG_AGENT_INFO environment variable on failure.

Only reset if the "agent_env_file" configuration parameter exists.
Fixes gpg-agent command failure of GPG_ERR_EPIPE. The command will
retry connecting to the existing GPG_AGENT_INFO socket.
src/agent.c