mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-29 13:12:48 +00:00
- djm@cvs.openbsd.org 2011/04/12 05:32:49
[sshd.c] exit with 0 status on SIGTERM; bz#1879
This commit is contained in:
parent
884b63a061
commit
26b57ce6c2
@ -46,6 +46,9 @@
|
||||
- djm@cvs.openbsd.org 2011/04/12 04:23:50
|
||||
[ssh-keygen.c]
|
||||
fix -Wshadow
|
||||
- djm@cvs.openbsd.org 2011/04/12 05:32:49
|
||||
[sshd.c]
|
||||
exit with 0 status on SIGTERM; bz#1879
|
||||
|
||||
20110221
|
||||
- (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the
|
||||
|
4
sshd.c
4
sshd.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: sshd.c,v 1.381 2011/01/11 06:13:10 djm Exp $ */
|
||||
/* $OpenBSD: sshd.c,v 1.382 2011/04/12 05:32:49 djm Exp $ */
|
||||
/*
|
||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
* 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)
|
||||
(int) received_sigterm);
|
||||
close_listen_socks();
|
||||
unlink(options.pid_file);
|
||||
exit(255);
|
||||
exit(received_sigterm == SIGTERM ? 0 : 255);
|
||||
}
|
||||
if (key_used && key_do_regen) {
|
||||
generate_ephemeral_server_key();
|
||||
|
Loading…
Reference in New Issue
Block a user