diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-04 17:42:28 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-04 17:44:59 +0100 |
commit | b94a44410a644d720dcdb1f1cd524b8386051ed1 (patch) | |
tree | 3bac3f76b0a99de92462607bffb253db0e1c51d6 /snooze.c | |
parent | eb53932c059f6b315d18945f484337203a227b4e (diff) |
Off-by-one, else snooze -s 1d -t triggers when the file has been touched on 00:00:00...
Diffstat (limited to 'snooze.c')
-rw-r--r-- | snooze.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -279,7 +279,7 @@ int main(int argc, char *argv[]) perror("stat"); t = start - slack - 1 - timewait; } else { - t = st.st_mtime; + t = st.st_mtime + 1; } if (timewait == -1) { while (t < start - slack) |