diff options
author | 2001-04-12 14:29:09 +0000 | |
---|---|---|
committer | 2001-04-12 14:29:09 +0000 | |
commit | 18c4001a4bcc362ac45aa4133fbf690fc306c593 (patch) | |
tree | 2a078daa281987e325ffe1f2b3151a1cd0bb5129 /usr.bin/ssh/ssh.c | |
parent | Remove a bogus __attribute__ ((unused)) from _splraise. (diff) | |
download | wireguard-openbsd-18c4001a4bcc362ac45aa4133fbf690fc306c593.tar.xz wireguard-openbsd-18c4001a4bcc362ac45aa4133fbf690fc306c593.zip |
show debug output during option processing, report from pekkas@netcore.fi
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index bd4765c6914..a2b67904829 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.110 2001/04/11 13:56:13 markus Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.111 2001/04/12 14:29:09 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -563,7 +563,8 @@ main(int ac, char **av) * Initialize "log" output. Since we are the client all output * actually goes to stderr. */ - log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1); + log_init(av[0], options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level, + SYSLOG_FACILITY_USER, 1); /* Read per-user configuration file. */ snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE); |