]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/scope.c
core: track why unit dependencies came to be
[thirdparty/systemd.git] / src / core / scope.c
index 7e789ed14789e61a799559e884355049762eac3a..073b216ea25bf2472ccc2fd158609666806783b3 100644 (file)
@@ -124,7 +124,8 @@ static int scope_add_default_dependencies(Scope *s) {
         r = unit_add_two_dependencies_by_name(
                         UNIT(s),
                         UNIT_BEFORE, UNIT_CONFLICTS,
-                        SPECIAL_SHUTDOWN_TARGET, NULL, true);
+                        SPECIAL_SHUTDOWN_TARGET, NULL, true,
+                        UNIT_DEPENDENCY_DEFAULT);
         if (r < 0)
                 return r;