diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -337,7 +337,12 @@ again: | |||
337 | exit(0); | 337 | exit(0); |
338 | break; | 338 | break; |
339 | case 'q': | 339 | case 'q': |
340 | options.log_level = SYSLOG_LEVEL_QUIET; | 340 | if (options.log_level == SYSLOG_LEVEL_QUIET) { |
341 | options.log_level = SYSLOG_LEVEL_SILENT; | ||
342 | } | ||
343 | else if (options.log_level != SYSLOG_LEVEL_SILENT) { | ||
344 | options.log_level = SYSLOG_LEVEL_QUIET; | ||
345 | } | ||
341 | break; | 346 | break; |
342 | case 'e': | 347 | case 'e': |
343 | if (optarg[0] == '^' && optarg[2] == 0 && | 348 | if (optarg[0] == '^' && optarg[2] == 0 && |