summaryrefslogtreecommitdiff
path: root/snooze.c
diff options
context:
space:
mode:
Diffstat (limited to 'snooze.c')
-rw-r--r--snooze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snooze.c b/snooze.c
index 730fb4b..1301c76 100644
--- a/snooze.c
+++ b/snooze.c
@@ -301,7 +301,7 @@ main(int argc, char *argv[])
t = find_next(t + 1);
start = t;
} else {
- if (t + timewait > start)
+ if (t + timewait > start - slack)
start = st.st_mtime + timewait;
}
}