From f76707da45a83df858e8752a2006a8c025da1a8f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 6 May 2016 18:22:22 +0200 Subject: core: update the right mtime after finishing writing of transient units (#3203) Fixes: #3194 --- src/core/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/unit.c') 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) { -- cgit v1.2.3-54-g00ecf