mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Don't set up an inotify descriptor in non-daemon mode.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user