diff options
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index e6fb336e..479388fa 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -638,7 +638,7 @@ check_parent_exists(int sig) void cleanup_socket(void) { - remove(socket_name); + unlink(socket_name); rmdir(socket_dir); } |