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, 3 Aug 2015 15:59:16 +0000 (11:59 -0400)
commitf1678a6ec739c349d5c3fc50ceb440c399a9f5ec
tree4d670dc8c4e6dfed4551ebe549e4823e81a38451
parentb1a92ef57dd449731e41f91c13b4ba9314056eef
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.024798 seconds and 4 git commands to generate.