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 720604394..d9611848d 100644
--- a/ssh.c
+++ b/ssh.c
@@ -366,7 +366,12 @@ again:
366 exit(0); 366 exit(0);
367 break; 367 break;
368 case 'q': 368 case 'q':
369 options.log_level = SYSLOG_LEVEL_QUIET; 369 if (options.log_level == SYSLOG_LEVEL_QUIET) {
370 options.log_level = SYSLOG_LEVEL_SILENT;
371 }
372 else if (options.log_level != SYSLOG_LEVEL_SILENT) {
373 options.log_level = SYSLOG_LEVEL_QUIET;
374 }
370 break; 375 break;
371 case 'e': 376 case 'e':
372 if (optarg[0] == '^' && optarg[2] == 0 && 377 if (optarg[0] == '^' && optarg[2] == 0 &&