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.387 2011/09/30 00:47:37 dtucker Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.388 2011/09/30 21:22: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 |
@@ -2369,7 +2369,7 @@ cleanup_exit(int i) | |||
2369 | if (use_privsep && 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) |
2373 | error("%s: kill(%d): %s", __func__, | 2373 | error("%s: kill(%d): %s", __func__, |
2374 | pmonitor->m_pid, strerror(errno)); | 2374 | pmonitor->m_pid, strerror(errno)); |
2375 | } | 2375 | } |