summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-10-20 21:07:05 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-10-20 21:07:05 +0800
commit27510a6e9eb8f54a8f109fa9f29481e8f8170862 (patch)
tree3f2bc382407148b2e3eae7ecccce24e645ff5340 /cli-chansession.c
parent7fda6418e15a92fd538a5e72682de94f90b6e060 (diff)
parent45bd0edae52c07daa2d54ca7f7c0a57d51130791 (diff)
merge
--HG-- branch : ecc
Diffstat (limited to 'cli-chansession.c')
-rw-r--r--cli-chansession.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index 37aa13d..b30fe43 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;
}