summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c
index ae93dcdf3..766a4b3bf 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1563,7 +1563,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1563 * In interactive mode (with pseudo tty) display a message indicating 1563 * In interactive mode (with pseudo tty) display a message indicating
1564 * that the connection has been closed. 1564 * that the connection has been closed.
1565 */ 1565 */
1566 if (have_pty && options.log_level != SYSLOG_LEVEL_QUIET) { 1566 if (have_pty && options.log_level > SYSLOG_LEVEL_QUIET) {
1567 snprintf(buf, sizeof buf, "Connection to %.64s closed.\r\n", host); 1567 snprintf(buf, sizeof buf, "Connection to %.64s closed.\r\n", host);
1568 buffer_append(&stderr_buffer, buf, strlen(buf)); 1568 buffer_append(&stderr_buffer, buf, strlen(buf));
1569 } 1569 }