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