Portable OpenSSH 2.5.1p1: daemontools-aware?
Jim Knoble
jmknoble at jmknoble.cx
Wed Feb 21 16:52:39 EST 2001
Circa 2001-Feb-20 12:48:25 -0800 dixit Jos Backus:
: This tiny patch adds a ``-e'' flag to force logging to stderr instead of
: syslog.
:
: --- openssh-2.5.1p1.dist/sshd.c Sun Feb 18 11:13:12 2001
: +++ openssh-2.5.1p1/sshd.c Tue Feb 20 11:22:15 2001
: @@ -576,7 +576,7 @@
: 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, "ef:p:b:k:h:g:V:u:dDiqQ46")) != -1) {
: switch (opt) {
: case '4':
: IPv4or6 = AF_INET;
: @@ -600,6 +600,9 @@
: break;
: case 'D':
: no_daemon_flag = 1;
: + break;
: + case 'e':
: + log_stderr = 1;
I'd rather see this option called '-L' rather than '-e', so as to be
parallel with '-D'. Comments?
Nice patch otherwise.
--
jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/
More information about the openssh-unix-dev
mailing list