agent: Not remove SSH socket when already running.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 16 Jan 2014 01:00:17 +0000 (10:00 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 16 Jan 2014 01:00:17 +0000 (10:00 +0900)
commit0ee66a6f66d7389e381fffa5f9eedbc8de9add10
tree9fd7c5c2f86fbf1bd7450278c74456c93bae586c
parent9c731bbedfd8bded5efd886304c5ca6655768c45
agent: Not remove SSH socket when already running.

* agent/gpg-agent.c (main): Defer setting of socket_name_ssh to avoid
removal of the socket when it will die in create_server_socket for
socket_name.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/gpg-agent.c