From: Lennart Poettering Date: Fri, 6 May 2016 16:22:22 +0000 (+0200) Subject: core: update the right mtime after finishing writing of transient units (#3203) X-Git-Tag: v230~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f76707da45a83df858e8752a2006a8c025da1a8f;p=thirdparty%2Fsystemd.git core: update the right mtime after finishing writing of transient units (#3203) Fixes: #3194 --- diff --git a/src/core/unit.c b/src/core/unit.c index 8153515e894..d8ab5781b06 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) {