summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-06 18:22:22 +0200
committerEvgeny Vereshchagin <evvers@ya.ru>2016-05-06 19:22:22 +0300
commitf76707da45a83df858e8752a2006a8c025da1a8f (patch)
tree2c0b4b151dfd877fc91ec515914645fee9215594 /src
parentbaa9ecc1ee63bd5d31adc74f0021d27a65ff3e77 (diff)
core: update the right mtime after finishing writing of transient units (#3203)
Fixes: #3194
Diffstat (limited to 'src')
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 8153515e89..d8ab5781b0 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1247,7 +1247,7 @@ int unit_load(Unit *u) {
fclose(u->transient_file);
u->transient_file = NULL;
- u->dropin_mtime = now(CLOCK_REALTIME);
+ u->fragment_mtime = now(CLOCK_REALTIME);
}
if (UNIT_VTABLE(u)->load) {