summaryrefslogtreecommitdiff
path: root/src/target.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-29 01:15:18 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-29 16:28:27 +0200
commitead8e4788ee31bbdc38b4cd3c6e71c8a95bbc95a (patch)
treec990f3342cbaf0280890bbd73680f5a67fadcf48 /src/target.c
parent9ed81015f0a426d98c2ad8f14d6f27a5058a726d (diff)
unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
Diffstat (limited to 'src/target.c')
-rw-r--r--src/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target.c b/src/target.c
index 3522bf1216..f322ce7275 100644
--- a/src/target.c
+++ b/src/target.c
@@ -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) {