summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-11-07 16:28:48 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-11-07 16:28:48 +0000
commit6f23fd8c7aad8e33145027410bd9e350e2af189c (patch)
treeaba81af18db40f99d0c113a0ed5f88185d5463fa
parentfd8cd4bbe8dfe30136813a5d14b87d57f6e3eecb (diff)
log to stderr if -ie is given, bug #414, prj@po.cwru.edu
-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 fb135d1c43f..5e457b070df 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.260 2002/09/27 10:42:09 mickey Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.261 2002/11/07 16:28:47 markus Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -920,7 +920,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,
- !inetd_flag);
+ log_stderr || !inetd_flag);
/* Read server configuration options from the configuration file. */
read_server_config(&options, config_file_name);