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>
Mon, 27 Jul 2015 17:52:21 +0000 (13:52 -0400)
commit7f0c090ded845bb58c341f75d28d2379db5c3e7e
tree7ab4fc80afdba86f5b51d71759420956e6beaea5
parent44c1a903e17ad14d5ba1cd07585a7a2415eac78a
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.025707 seconds and 4 git commands to generate.