Don't set up an inotify descriptor in non-daemon mode.

This commit is contained in:
Dianne Skoll
2025-09-30 16:41:16 -04:00
parent 26de9d84f5
commit 3083142753

View File

@@ -310,7 +310,9 @@ void HandleQueuedReminders(void)
}
#ifdef USE_INOTIFY
watch_fd = setup_inotify_watch();
if (Daemon) {
watch_fd = setup_inotify_watch();
}
#endif
/* Sit in a loop, issuing reminders when necessary */
while(1) {