2011-04-19 08:01:10 +00:00
|
|
|
Copyright (c) 2009 Ingo Schwarze <ischwarze@astaro.com>
|
|
|
|
|
|
|
|
This patch is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
2020-10-05 12:16:26 +00:00
|
|
|
---
|
|
|
|
atd.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
Index: at-3.2.0/atd.c
|
2011-04-19 08:01:10 +00:00
|
|
|
===================================================================
|
2020-10-05 12:16:26 +00:00
|
|
|
--- at-3.2.0.orig/atd.c
|
|
|
|
+++ at-3.2.0/atd.c
|
|
|
|
@@ -644,7 +644,7 @@ run_loop()
|
2011-04-19 08:01:10 +00:00
|
|
|
if (stat(".", &buf) == -1)
|
|
|
|
perr("Cannot stat " ATJOB_DIR);
|
|
|
|
|
|
|
|
- if (nothing_to_do && buf.st_mtime <= last_chg)
|
|
|
|
+ if (nothing_to_do && buf.st_mtime == last_chg)
|
|
|
|
return next_job;
|
|
|
|
last_chg = buf.st_mtime;
|
|
|
|
|