core: update the right mtime after finishing writing of transient units (#3203)
Fixes: #3194
This commit is contained in:
committed by
Evgeny Vereshchagin
parent
baa9ecc1ee
commit
f76707da45
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user