Fix: set session should not set non-existent session
authorPartha Pratim Mukherjee <ppm.floss@gmail.com>
Sat, 25 Jul 2015 07:55:19 +0000 (13:25 +0530)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Jul 2015 15:52:21 +0000 (11:52 -0400)
commit88fd7d62599f1e64a2cd5175ec0d832fc8de2bf9
treec242b3d20db0402a14e69ada7da2ad27b65753c8
parent5b365375b92e517b7e41069799679b7835efd7ef
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 <ppm.floss@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/set_session.c
This page took 0.026829 seconds and 4 git commands to generate.