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.386 2011/09/09 22:38:21 djm Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.387 2011/09/30 00:47:37 dtucker 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 |
@@ -2366,7 +2366,7 @@ cleanup_exit(int i) | |||
2366 | { | 2366 | { |
2367 | if (the_authctxt) { | 2367 | if (the_authctxt) { |
2368 | do_cleanup(the_authctxt); | 2368 | do_cleanup(the_authctxt); |
2369 | if (privsep_is_preauth && pmonitor->m_pid > 1) { | 2369 | if (use_privsep && privsep_is_preauth && pmonitor->m_pid > 1) { |
2370 | debug("Killing privsep child %d", pmonitor->m_pid); | 2370 | debug("Killing privsep child %d", pmonitor->m_pid); |
2371 | if (kill(pmonitor->m_pid, SIGKILL) != 0 && | 2371 | if (kill(pmonitor->m_pid, SIGKILL) != 0 && |
2372 | errno == ESRCH) | 2372 | errno == ESRCH) |