Fix: missing LTTNG_OK return value for snapshot
authorDavid Goulet <dgoulet@efficios.com>
Mon, 4 Nov 2013 21:24:25 +0000 (16:24 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 4 Nov 2013 21:24:25 +0000 (16:24 -0500)
commitfac41e72fd9335dd3ab372a74b96dff5dc2cdbdf
tree21289b8d844cecc87acbddd3467e09e787fdbfde
parentc36441a9c2038a7dac73413b7ee6c06c9d947d6f
Fix: missing LTTNG_OK return value for snapshot

After a successful kernel snapshot, the ret = LTTNG_OK was missing thus
returning 0 to the caller which was expecting LTTNG_OK.

Also, this patch fixes the live_timer_interval check at start that CAN
be -1 thus not trying to start it.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/kernel.c
src/common/consumer-timer.c
This page took 0.025524 seconds and 4 git commands to generate.