diff cli-chansession.c @ 835:4095b6d7c9fc ecc

Merge in changes from the past couple of releases
author Matt Johnston <matt@ucc.asn.au>
date Fri, 18 Oct 2013 21:38:01 +0800
parents 7dcb46da72d9 84e4259dae3e
children c19acba28590
line wrap: on
line diff
--- a/cli-chansession.c	Sat May 25 00:54:19 2013 +0800
+++ b/cli-chansession.c	Fri Oct 18 21:38:01 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;
 	}