chiark / gitweb /
unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counte...
[elogind.git] / src / target.c
index 3522bf12168f9a702a8cb2c6add51ed4d1d1ed21..f322ce72757a28452c613f4be8421f7e944a8855 100644 (file)
@@ -77,7 +77,7 @@ static int target_add_default_dependencies(Target *t) {
                     return r;
 
         /* Make sure targets are unloaded on shutdown */
-        return unit_add_dependency_by_name(UNIT(t), UNIT_CONFLICTED_BY, SPECIAL_SHUTDOWN_TARGET, NULL, true);
+        return unit_add_dependency_by_name(UNIT(t), UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true);
 }
 
 static int target_add_getty_dependencies(Target *t) {