diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.381 2011/01/11 06:13:10 djm Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.382 2011/04/12 05:32:49 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1115,7 +1115,7 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) | |||
1115 | (int) received_sigterm); | 1115 | (int) received_sigterm); |
1116 | close_listen_socks(); | 1116 | close_listen_socks(); |
1117 | unlink(options.pid_file); | 1117 | unlink(options.pid_file); |
1118 | exit(255); | 1118 | exit(received_sigterm == SIGTERM ? 0 : 255); |
1119 | } | 1119 | } |
1120 | if (key_used && key_do_regen) { | 1120 | if (key_used && key_do_regen) { |
1121 | generate_ephemeral_server_key(); | 1121 | generate_ephemeral_server_key(); |