at/at-3.1.8-tomorrow.patch

14 lines
369 B
Diff
Raw Normal View History

Index: at-3.1.8/parsetime.y
===================================================================
--- at-3.1.8.orig/parsetime.y
+++ at-3.1.8/parsetime.y
@@ -375,7 +375,7 @@ parsetime(int argc, char **argv)
exectime -= 3600;
}
}
- if (time_only && (currtime > exectime)) {
+ if (currtime > exectime+1) {
exectime += 24*3600;
}
return exectime;