mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Don't set up inotify descriptor if we are not in server mode.
This commit is contained in:
@@ -312,7 +312,7 @@ void HandleQueuedReminders(void)
|
||||
}
|
||||
|
||||
#ifdef USE_INOTIFY
|
||||
if (Daemon) {
|
||||
if (IsServerMode()) {
|
||||
watch_fd = setup_inotify_watch();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user