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 c9e5aac7a..75a0d9b23 100644
--- a/ssh.c
+++ b/ssh.c
@@ -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 &&