summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 00:51:03 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 00:51:03 +0000
commit79cf0b3654d7b597de323153eb57015cdfbd90a4 (patch)
tree274e78bc3369e218e59aa1fcc9b7e90697f424f1 /ssh.c
parentd984a3c6658e950881edcfb2aae464add93f68d4 (diff)
Debian release 3.4p1-1.
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 24ee54142..25d51c31f 100644
--- a/ssh.c
+++ b/ssh.c
@@ -364,7 +364,12 @@ again:
364 exit(0); 364 exit(0);
365 break; 365 break;
366 case 'q': 366 case 'q':
367 options.log_level = SYSLOG_LEVEL_QUIET; 367 if (options.log_level == SYSLOG_LEVEL_QUIET) {
368 options.log_level = SYSLOG_LEVEL_SILENT;
369 }
370 else if (options.log_level != SYSLOG_LEVEL_SILENT) {
371 options.log_level = SYSLOG_LEVEL_QUIET;
372 }
368 break; 373 break;
369 case 'e': 374 case 'e':
370 if (optarg[0] == '^' && optarg[2] == 0 && 375 if (optarg[0] == '^' && optarg[2] == 0 &&