projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa9ecc
)
core: update the right mtime after finishing writing of transient units (#3203)
author
Lennart Poettering
<lennart@poettering.net>
Fri, 6 May 2016 16:22:22 +0000
(18:22 +0200)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Fri, 6 May 2016 16:22:22 +0000
(19:22 +0300)
Fixes: #3194
src/core/unit.c
patch
|
blob
|
history
diff --git
a/src/core/unit.c
b/src/core/unit.c
index
8153515
..
d8ab578
100644
(file)
--- 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) {