diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 && |