]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/timer.c
timer: don't use persietent file timestamps from the future (#6823)
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Sep 2017 16:26:10 +0000 (18:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Sep 2017 16:26:10 +0000 (18:26 +0200)
commit77542a7905520f1d637912bf47bddb4855506e41
tree2f716ce24cf4cf5084ac3f64b1f22825eae08235
parent60c776fd756384b62d3c0ec8b1d000a898767347
timer: don't use persietent file timestamps from the future (#6823)

Also, use the mtime rather than the atime of the timestamp file. While
the atime is not completely wrong, the mtime appears more appropriate
as that's what we actually explicitly change, and is not effected by
mere reading.

Fixes: #6821
src/core/timer.c