summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
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 3940dabfd..a64f1e2dc 100644
--- a/ssh.c
+++ b/ssh.c
@@ -350,7 +350,12 @@ again:
350 } 350 }
351 break; 351 break;
352 case 'q': 352 case 'q':
353 options.log_level = SYSLOG_LEVEL_QUIET; 353 if (options.log_level == SYSLOG_LEVEL_QUIET) {
354 options.log_level = SYSLOG_LEVEL_SILENT;
355 }
356 else if (options.log_level != SYSLOG_LEVEL_SILENT) {
357 options.log_level = SYSLOG_LEVEL_QUIET;
358 }
354 break; 359 break;
355 case 'e': 360 case 'e':
356 if (optarg[0] == '^' && optarg[2] == 0 && 361 if (optarg[0] == '^' && optarg[2] == 0 &&