summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-12 16:16:57 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-12 16:16:57 +0000
commit2b646528cbee9b0051f3904c56b7d49aac5cdc6c (patch)
tree6b8d132179fbba89aa18178f84913108b7354437 /ssh.c
parent9fce9f02e816e8095e93e0c0d0459d8e59af69f5 (diff)
- markus@cvs.openbsd.org 2001/04/12 14:29:09
[ssh.c] show debug output during option processing, report from pekkas@netcore.fi
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 5180a8d7d..5c08de820 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: ssh.c,v 1.110 2001/04/11 13:56:13 markus Exp $"); 42RCSID("$OpenBSD: ssh.c,v 1.111 2001/04/12 14:29:09 markus Exp $");
43 43
44#include <openssl/evp.h> 44#include <openssl/evp.h>
45#include <openssl/err.h> 45#include <openssl/err.h>
@@ -576,7 +576,8 @@ main(int ac, char **av)
576 * Initialize "log" output. Since we are the client all output 576 * Initialize "log" output. Since we are the client all output
577 * actually goes to stderr. 577 * actually goes to stderr.
578 */ 578 */
579 log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1); 579 log_init(av[0], options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level,
580 SYSLOG_FACILITY_USER, 1);
580 581
581 /* Read per-user configuration file. */ 582 /* Read per-user configuration file. */
582 snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE); 583 snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE);