From: dtucker Date: Fri, 5 Feb 2021 02:20:23 +0000 (+0000) Subject: Remove debug message from sigchld handler. While this works on OpenBSD X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b0a7305ceda6c4356b2696c7cbdde911552eb759;p=openbsd 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@ --- 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 * Copyright (c) 1995 Tatu Ylonen , 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)) ;