b8fa79
diff -up at-3.1.12/at.c.nowrap at-3.1.12/at.c
b8fa79
--- at-3.1.12/at.c.nowrap	2010-02-18 14:39:50.125518422 +0100
b8fa79
+++ at-3.1.12/at.c	2010-02-22 13:20:03.817150406 +0100
b8fa79
@@ -308,10 +308,13 @@ writefile(time_t runtimer, char queue)
b8fa79
 	    if (*ap == ' ')
b8fa79
 		*ap = '0';
b8fa79
 
b8fa79
-	if (stat(atfile, &statbuf) != 0)
b8fa79
+	/*if (stat(atfile, &statbuf) != 0) {
b8fa79
 	    if (errno != ENOENT)
b8fa79
 		perr("Cannot access " ATJOB_DIR);
b8fa79
-
b8fa79
+	} else {
b8fa79
+	    perr("atjob file already exists; bailing");
b8fa79
+	}
b8fa79
+	*/
b8fa79
 	/* Create the file. The x bit is only going to be set after it has
b8fa79
 	 * been completely written out, to make sure it is not executed in the
b8fa79
 	 * meantime.  To make sure they do not get deleted, turn off their r