Don't set up inotify descriptor if we are not in server mode.

This commit is contained in:
Dianne Skoll
2025-10-07 20:52:22 -04:00
parent 41306bfad5
commit 8748856f5a

View File

@@ -312,7 +312,7 @@ void HandleQueuedReminders(void)
}
#ifdef USE_INOTIFY
if (Daemon) {
if (IsServerMode()) {
watch_fd = setup_inotify_watch();
}
#endif