[openssh-commits] [openssh] 04/05: upstream: force early logging to stderr if debug_flag (-d) is set;
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Feb 1 10:22:42 AEDT 2020
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 245399dfb3ecebc6abfc2ef4ee2e650fa9f6942b
Author: djm at openbsd.org <djm at openbsd.org>
Date: Fri Jan 31 23:11:25 2020 +0000
upstream: force early logging to stderr if debug_flag (-d) is set;
avoids missing messages from re-exec config passing
OpenBSD-Commit-ID: 02484b8241c1f49010e7a543a7098e6910a8c9ff
---
sshd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sshd.c b/sshd.c
index 9d0d8b4f..f4e659f1 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.547 2020/01/31 23:08:08 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.548 2020/01/31 23:11:25 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -1664,7 +1664,7 @@ main(int ac, char **av)
SYSLOG_LEVEL_INFO : options.log_level,
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
SYSLOG_FACILITY_AUTH : options.log_facility,
- log_stderr || !inetd_flag);
+ log_stderr || !inetd_flag || debug_flag);
/*
* Unset KRB5CCNAME, otherwise the user's session may inherit it from
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list