mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
core: update the right mtime after finishing writing of transient units (#3203)
Fixes: #3194
This commit is contained in:
parent
baa9ecc1ee
commit
f76707da45
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user