diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-24 08:52:21 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-06-24 08:52:21 -0400 |
commit | 9124468a5e5664e9fb7ca448021a6d8ea8ec4aeb (patch) | |
tree | 45a7c897258b1f9e184be23e2b2106c6fbfa6c21 | |
parent | 4cd51a7fe5b1475bb87d57e72e86b8ced1271875 (diff) | |
parent | 084918ba41acbb80076c64e7338cf73101b1385e (diff) |
Merge pull request #335 from aroig/gh/fix_check_unneeded
core: fix reversed dependency check in unit_check_unneeded
-rw-r--r-- | src/core/unit.c | 2 |
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, |