From: Partha Pratim Mukherjee Date: Sat, 25 Jul 2015 07:55:19 +0000 (+0530) Subject: Fix: set session should not set non-existent session X-Git-Tag: v2.8.0-rc1~533 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=7f0c090ded845bb58c341f75d28d2379db5c3e7e;hp=7f0c090ded845bb58c341f75d28d2379db5c3e7e;p=lttng-tools.git Fix: set session should not set non-existent session set-session does not check the existence of a session before setting it as the current session. Fix it so that it gives error for a non-existent session. Fixes #885 Signed-off-by: Partha Pratim Mukherjee Signed-off-by: Jérémie Galarneau ---