diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-05-01 20:34:52 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-05-01 20:34:52 +0000 |
commit | 7040beca5b9fff63898666987c1ae8695191ddae (patch) | |
tree | 8439c8eb4178e0e4578cfa230950a93375a5ab9f /usr.bin/ssh/sshd.c | |
parent | e48d44975b281766b58f1be3c8b1e033aa42fdae (diff) |
unlink pid file, ok niels@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index a046b0d3725..e94f7074d1a 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.112 2000/05/01 18:50:59 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.113 2000/05/01 20:34:51 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -186,6 +186,7 @@ sigterm_handler(int sig) { log("Received signal %d; terminating.", sig); close_listen_socks(); + unlink(options.pid_file); exit(255); } |