1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

Merge pull request #335 from aroig/gh/fix_check_unneeded

core: fix reversed dependency check in unit_check_unneeded
This commit is contained in:
Lennart Poettering 2015-06-24 08:52:21 -04:00
commit 9124468a5e

View File

@ -1596,7 +1596,7 @@ static void unit_check_unneeded(Unit *u) {
static const UnitDependency needed_dependencies[] = { static const UnitDependency needed_dependencies[] = {
UNIT_REQUIRED_BY, UNIT_REQUIRED_BY,
UNIT_REQUIRED_BY_OVERRIDABLE, UNIT_REQUIRED_BY_OVERRIDABLE,
UNIT_REQUISITE, UNIT_REQUISITE_OF,
UNIT_REQUISITE_OF_OVERRIDABLE, UNIT_REQUISITE_OF_OVERRIDABLE,
UNIT_WANTED_BY, UNIT_WANTED_BY,
UNIT_BOUND_BY, UNIT_BOUND_BY,