Fix: unreported error on rotate timer stop failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 18:51:45 +0000 (14:51 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 18:51:45 +0000 (14:51 -0400)
commitf3ce6946ed9508129491909fd56b61026bc0f054
tree90f7c382f1af2ee371770aeff6d724cd5ae37788
parentce6176f27756b1b1453d4fef1c8f0978f02806ca
Fix: unreported error on rotate timer stop failure

A missing 'goto end' causes errors occuring when stopping
the sessiond's rotate timer to be ignored as the switch-case's
case breaks and the 'ret' value is set to LTTNG_OK.

Reported-by: Coverity Scan (1395074 Unused value)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.02619 seconds and 5 git commands to generate.