summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
Diffstat (limited to 'healthd')
-rw-r--r--healthd/healthd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/healthd/healthd.cpp b/healthd/healthd.cpp
index f7c79c4..900cc42 100644
--- a/healthd/healthd.cpp
+++ b/healthd/healthd.cpp
@@ -250,6 +250,9 @@ static void healthd_mainloop(void) {
if (events[n].data.ptr)
(*(void (*)())events[n].data.ptr)();
}
+
+ if (!nevents)
+ periodic_chores();
}
return;