From b21081de7418f99ec301603127e3e1b025eb82d1 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Wed, 23 Dec 2020 00:40:49 +0100 Subject: Change value because st.st_mtime might not be set, see above --- snooze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snooze.c') 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; } } -- cgit v1.2.3