diff --git a/cli-chansession.c b/cli-chansession.c index 17e0d53eaf850d80006e655e3d19783af39a7c3d..4438776cb9cba79302a14cd582b6e9502dbcd24d 100644 --- a/cli-chansession.c +++ b/cli-chansession.c @@ -71,7 +71,9 @@ static void cli_chansessreq(struct Channel *channel) { TRACE(("got exit-signal, ignoring it")) } else { TRACE(("unknown request '%s'", type)) - send_msg_channel_failure(channel); + if (wantreply) { + send_msg_channel_failure(channel); + } goto out; }