summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-03-31 11:34:21 +0100
committerColin Watson <cjwatson@debian.org>2010-03-31 11:34:21 +0100
commit21653cc01f15857ec36fc5ec24aecf1d39c2855f (patch)
tree37140a381e866f78560ed021bd32b58e7d285cb6 /clientloop.c
parent69456e98a770b7e946b416e5a41ec6288a31e22f (diff)
Drop most of our "LogLevel SILENT" (-qq) patch. This was originally
introduced to match the behaviour of non-free SSH, in which -q does not suppress fatal errors, but matching the behaviour of OpenSSH upstream is much more important nowadays. We no longer document that -q does not suppress fatal errors (closes: #280609). Migrate "LogLevel SILENT" to "LogLevel QUIET" in sshd_config on upgrade.
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 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));