diff options
Diffstat (limited to 'source/a/dcron/patches/0007-Update-main.c.patch')
-rw-r--r-- | source/a/dcron/patches/0007-Update-main.c.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source/a/dcron/patches/0007-Update-main.c.patch b/source/a/dcron/patches/0007-Update-main.c.patch new file mode 100644 index 00000000..d120f37c --- /dev/null +++ b/source/a/dcron/patches/0007-Update-main.c.patch @@ -0,0 +1,27 @@ +From abf8c4bf53a84ef3de530519a3bbb6b599595f2c Mon Sep 17 00:00:00 2001 +From: robdewit <rdewit@wise-guys.nl> +Date: Tue, 31 Mar 2015 14:24:15 +0200 +Subject: [PATCH 7/9] Update main.c + +Removed bug where cron.update is not picked up while jobs are still running. (We have long running cronjobs and experienced long overdue cron.update files) +--- + main.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/main.c b/main.c +index 595f07a..0eba280 100644 +--- a/main.c ++++ b/main.c +@@ -338,7 +338,8 @@ main(int ac, char **av) + SynchronizeDir(SCDir, "root", 0); + ReadTimestamps(NULL); + } +- } else { ++ } ++ if (rescan < 60) { + CheckUpdates(CDir, NULL, t1, t2); + CheckUpdates(SCDir, "root", t1, t2); + } +-- +2.13.2 + |