diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2020-12-23 00:40:49 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-01-07 18:07:07 +0100 |
commit | 05b1deee7eb53f9a44f984bc2b6945e91af2581c (patch) | |
tree | b759cf2b4cf82c57f8789372b59ffe069f3f4b4d | |
parent | 6e3598566c65bebc37acc8230fc2159c89518dc3 (diff) | |
download | snooze-05b1deee7eb53f9a44f984bc2b6945e91af2581c.tar.gz snooze-05b1deee7eb53f9a44f984bc2b6945e91af2581c.tar.xz snooze-05b1deee7eb53f9a44f984bc2b6945e91af2581c.zip |
Change value because st.st_mtime might not be set, see above
-rw-r--r-- | snooze.c | 2 |
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; } } |