diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-01-11 01:26:47 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-01-12 09:33:35 +1100 |
commit | a882a09722c9f086c9edb65d0c4022fd965ec1ed (patch) | |
tree | 2b6d283b8dbeee8c037ca73df6bac00bba962326 /mux.c | |
parent | 61a1a6af22e17fc94999a5d1294f27346e6c4668 (diff) |
upstream: suppress "Connection to xxx closed" messages at LogLevel >=
error bz3378; ok dtucker@
OpenBSD-Commit-ID: d5bf457d5d2eb927b81d0663f45248a31028265c
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> * @@ -2037,7 +2037,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); |