summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-11-09 15:50:03 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-11-09 15:50:03 +0000
commitc2faa4a504188d8fdf27467fca136f69e451fc27 (patch)
tree89a15e9b6d05fdf5fe86fb3faaeba51af57f5dbe /sshd.c
parent8e879cf6918efbf40984bbfb6db0deecc26881f5 (diff)
- markus@cvs.openbsd.org 2002/11/07 16:28:47
[sshd.c] log to stderr if -ie is given, bug #414, prj@po.cwru.edu
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 f8bd7ce5..8bf1557a 100644
--- a/sshd.c
+++ b/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>
@@ -944,7 +944,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);
#ifdef _UNICOS
/* Cray can define user privs drop all prives now!