summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2005-01-17 22:48:40 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2005-01-17 22:48:40 +0000
commit0507c13c76cb4ad58a635443f896da540763a4af (patch)
tree8795792bb72cc167d3deef5295de240e6f58837d /usr.bin
parent75389d4f1d051452ce3cf1230e3763542c334b10 (diff)
Make debugging output continue after reexec; ok djm@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 21b676831a7..80894531b64 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -42,7 +42,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.305 2004/12/23 23:11:00 djm Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.306 2005/01/17 22:48:39 dtucker Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -1130,7 +1130,7 @@ main(int ac, char **av)
}
/* Initialize the log (it is reinitialized below in case we forked). */
- if (debug_flag && !inetd_flag)
+ if (debug_flag && (!inetd_flag || rexeced_flag))
log_stderr = 1;
log_init(__progname, options.log_level, options.log_facility, log_stderr);