From 9fce9f02e816e8095e93e0c0d0459d8e59af69f5 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 11 Apr 2001 23:10:09 +0000 Subject: - lebel@cvs.openbsd.org 2001/04/11 16:25:30 [sshd.8 sshd.c] implement the -e option into sshd: -e When this option is specified, sshd will send the output to the standard error instead of the system log. markus@ OK. --- sshd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index 725961153..bde1ac344 100644 --- a/sshd.c +++ b/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.191 2001/04/05 10:42:57 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.192 2001/04/11 16:25:30 lebel Exp $"); #include #include @@ -565,7 +565,7 @@ main(int ac, char **av) initialize_server_options(&options); /* Parse command-line arguments. */ - while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDiqQ46")) != -1) { + while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDeiqQ46")) != -1) { switch (opt) { case '4': IPv4or6 = AF_INET; @@ -590,6 +590,9 @@ main(int ac, char **av) case 'D': no_daemon_flag = 1; break; + case 'e': + log_stderr = 1; + break; case 'i': inetd_flag = 1; break; -- cgit v1.2.3