# HG changeset patch # User Matt Johnston # Date 1379694876 -28800 # Node ID 84e4259dae3e4acdf86e575117f5f79dae746be5 # Parent 35183e8a7851d4cb8516289c1b6c71da41d7230b Only send a failure response to a channel request if wantreply is set. diff -r 35183e8a7851 -r 84e4259dae3e cli-chansession.c --- a/cli-chansession.c Sat Sep 21 00:17:22 2013 +0800 +++ b/cli-chansession.c Sat Sep 21 00:34:36 2013 +0800 @@ -71,7 +71,9 @@ 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; }