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)
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>

No differences found
This page took 0.02753 seconds and 4 git commands to generate.