summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/mux.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2022-01-11 01:26:48 +0000
committerDamien Miller <djm@cvs.openbsd.org>2022-01-11 01:26:48 +0000
commit215941195f94a783b730e331fa7f68f0dff62e6b (patch)
tree295fe6d4215b8824642c8046dbe22538b8300277 /usr.bin/ssh/mux.c
parent2c65adb045c78d23b39a60a04072f49a04d6fab4 (diff)
suppress "Connection to xxx closed" messages at LogLevel >= error
bz3378; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/mux.c')
-rw-r--r--usr.bin/ssh/mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/mux.c b/usr.bin/ssh/mux.c
index e39a134ff12..5a49f16afe9 100644
--- a/usr.bin/ssh/mux.c
+++ b/usr.bin/ssh/mux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mux.c,v 1.91 2021/07/23 04:00:59 djm Exp $ */
+/* $OpenBSD: mux.c,v 1.92 2022/01/11 01:26:47 djm Exp $ */
/*
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
*
@@ -2017,7 +2017,7 @@ mux_client_request_session(int fd)
} else
debug2("Received exit status from master %d", exitval);
- if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET)
+ if (tty_flag && options.log_level >= SYSLOG_LEVEL_INFO)
fprintf(stderr, "Shared connection to %s closed.\r\n", host);
exit(exitval);