diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c index a55fe9995..56f8dd2f8 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1538,7 +1538,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
1538 | * In interactive mode (with pseudo tty) display a message indicating | 1538 | * In interactive mode (with pseudo tty) display a message indicating |
1539 | * that the connection has been closed. | 1539 | * that the connection has been closed. |
1540 | */ | 1540 | */ |
1541 | if (have_pty && options.log_level > SYSLOG_LEVEL_QUIET) { | 1541 | if (have_pty && options.log_level != SYSLOG_LEVEL_QUIET) { |
1542 | snprintf(buf, sizeof buf, | 1542 | snprintf(buf, sizeof buf, |
1543 | "Connection to %.64s closed.\r\n", host); | 1543 | "Connection to %.64s closed.\r\n", host); |
1544 | buffer_append(&stderr_buffer, buf, strlen(buf)); | 1544 | buffer_append(&stderr_buffer, buf, strlen(buf)); |