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