Copyright (c) 2009 Ingo Schwarze 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. --- atd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: at-3.2.0/atd.c =================================================================== --- at-3.2.0.orig/atd.c +++ at-3.2.0/atd.c @@ -644,7 +644,7 @@ run_loop() 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;