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:26 +0000 (11:52 -0400)
commitf74306392c0fb8b155ae281247e16f0448476a83
tree69ab2b7fecd87743c4989b20c022419baca1f626
parentdc5141b9bf8323b45582c255fd3afd541fa63e14
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.024916 seconds and 4 git commands to generate.