]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/load-dropin.c
conf-parser: return mtime in config_parse() and friends
[thirdparty/systemd.git] / src / core / load-dropin.c
index f61e9da6f281d2deaad55f11ba869424ed555a09..0da3eafb12947e25e2dbd4a80a75549699cc9e7a 100644 (file)
@@ -114,12 +114,13 @@ int unit_load_dropin(Unit *u) {
         }
 
         STRV_FOREACH(f, u->dropin_paths)
-                (void) config_parse(u->id, *f, NULL,
-                                    UNIT_VTABLE(u)->sections,
-                                    config_item_perf_lookup, load_fragment_gperf_lookup,
-                                    0, u);
-
-        u->dropin_mtime = now(CLOCK_REALTIME);
+                (void) config_parse(
+                                u->id, *f, NULL,
+                                UNIT_VTABLE(u)->sections,
+                                config_item_perf_lookup, load_fragment_gperf_lookup,
+                                0,
+                                u,
+                                &u->dropin_mtime);
 
         return 0;
 }