Fix: missing LTTNG_OK return value for snapshot
[lttng-tools.git] / src / common / consumer-timer.c
index 1571d86de78b95437d7f7ab833af79129a6b39e2..b97cb28443a99232550de4d543b2607896452ead 100644 (file)
@@ -397,7 +397,7 @@ void consumer_timer_live_start(struct lttng_consumer_channel *channel,
        assert(channel);
        assert(channel->key);
 
-       if (live_timer_interval == 0) {
+       if (live_timer_interval <= 0) {
                return;
        }
 
This page took 0.025594 seconds and 5 git commands to generate.