diff --git a/src/main.c b/src/main.c index ea11a49..2910fdc 100644 --- a/src/main.c +++ b/src/main.c @@ -187,7 +187,7 @@ int main(int argc, char** argv) { running = 1; while (daemon != NULL && running == 1) { time_t now = time(NULL); - if (queued_time <= now - status_refresh) { + if (status_refresh > 0 && queued_time <= now - status_refresh) { queued_time = now; report_queued = 1; }