From 1124afa41e7488c4b68ef46f05da148907c83bdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Thu, 21 Oct 2010 08:19:22 +0200 Subject: [PATCH] Apply previous patch correctly. --- src/cron.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cron.c b/src/cron.c index b62cb26..9159164 100644 --- a/src/cron.c +++ b/src/cron.c @@ -305,11 +305,11 @@ int main(int argc, char *argv[]) { */ timeDiff = timeRunning - virtualTime; #if defined WITH_INOTIFY - if (inotify_enabled && (EnableClustering != 1)) { + if (inotify_enabled) { check_inotify_database(&database); } else { - if (load_database(&database) && EnableClustering) + if (load_database(&database) && (EnableClustering != 1)) /* try reinstating the watches */ set_cron_watched(fd); } -- 2.40.0