]> git.ipfire.org Git - thirdparty/systemd.git/commit
update-done, condition: write the timestamp to the file as well and use it to prevent... 4131/head
authorIvan Shapovalov <intelfx@intelfx.name>
Tue, 13 Sep 2016 00:04:35 +0000 (03:04 +0300)
committerIvan Shapovalov <intelfx@intelfx.name>
Thu, 15 Sep 2016 03:36:42 +0000 (06:36 +0300)
commitfb8b0869a7bc30e23be175cf978df23192d59118
tree9524b559719dd9a03e100739f68123a4f4dcea8b
parent3a730176b36bc1191c54b149a8147bbf6ec8e482
update-done, condition: write the timestamp to the file as well and use it to prevent false-positives

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=90192 and #4130
for real. Also, remove timestamp check in update-done.c altogether since
the whole operation is idempotent.
src/shared/condition.c
src/update-done/update-done.c