X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-timer.c;h=b97cb28443a99232550de4d543b2607896452ead;hb=3d229795de7f38cce87d6d5ea76ef413dbb71f1d;hp=1571d86de78b95437d7f7ab833af79129a6b39e2;hpb=51a9e1c7f7fd48e2b53e258aee269a69cb8b59d3;p=lttng-tools.git diff --git a/src/common/consumer-timer.c b/src/common/consumer-timer.c index 1571d86de..b97cb2844 100644 --- a/src/common/consumer-timer.c +++ b/src/common/consumer-timer.c @@ -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; }