diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2021-02-05 02:20:24 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2021-02-05 02:20:24 +0000 |
commit | fdf69648818c7f5382cb27646a0add50bde2d1c8 (patch) | |
tree | 853f03550ffd71df1f1f94ef557b4e678b49b229 | |
parent | 6fa7a57de722306bdc92ce5eca4a84c6c446d07e (diff) |
Remove debug message from sigchld handler. While this works on OpenBSD
it can cause problems on other platforms. From kircherlike at outlook.com
via bz#3259, ok djm@
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index d89f7612a54..8ffa2a51b2e 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.569 2021/01/27 10:05:28 djm Exp $ */ +/* $OpenBSD: sshd.c,v 1.570 2021/02/05 02:20:23 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -317,8 +317,6 @@ main_sigchld_handler(int sig) pid_t pid; int status; - debug("main_sigchld_handler: %s", strsignal(sig)); - while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || (pid == -1 && errno == EINTR)) ; |