summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-24 08:52:21 -0400
committerLennart Poettering <lennart@poettering.net>2015-06-24 08:52:21 -0400
commit9124468a5e5664e9fb7ca448021a6d8ea8ec4aeb (patch)
tree45a7c897258b1f9e184be23e2b2106c6fbfa6c21 /src
parent4cd51a7fe5b1475bb87d57e72e86b8ced1271875 (diff)
parent084918ba41acbb80076c64e7338cf73101b1385e (diff)
Merge pull request #335 from aroig/gh/fix_check_unneeded
core: fix reversed dependency check in unit_check_unneeded
Diffstat (limited to 'src')
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 7bb2afc9f2..fac017c57d 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1596,7 +1596,7 @@ static void unit_check_unneeded(Unit *u) {
static const UnitDependency needed_dependencies[] = {
UNIT_REQUIRED_BY,
UNIT_REQUIRED_BY_OVERRIDABLE,
- UNIT_REQUISITE,
+ UNIT_REQUISITE_OF,
UNIT_REQUISITE_OF_OVERRIDABLE,
UNIT_WANTED_BY,
UNIT_BOUND_BY,