about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--snooze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snooze.c b/snooze.c
index 1301c76..ed929c7 100644
--- a/snooze.c
+++ b/snooze.c
@@ -302,7 +302,7 @@ main(int argc, char *argv[])
 			start = t;
 		} else {
 			if (t + timewait > start - slack)
-				start = st.st_mtime + timewait;
+				start = t + timewait;
 		}
 	}