summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authordtucker <dtucker>2005-01-20 00:03:08 +0000
committerdtucker <dtucker>2005-01-20 00:03:08 +0000
commitbdce26c17b548cefe0b24389ca411c30f0942746 (patch)
tree0c5c798f209356fd46bc83aa25ead80534d0202b /sshd.c
parent3f65615d1f414c60603efeb6353e754714746456 (diff)
downloadopenssh-bdce26c17b548cefe0b24389ca411c30f0942746.tar.gz
- dtucker@cvs.openbsd.org 2005/01/17 22:48:39
[sshd.c] Make debugging output continue after reexec; ok djm@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 89f36a47..76aec80b 100644
--- a/sshd.c
+++ b/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>
@@ -1192,7 +1192,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);