diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | src/core/unit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 0f1028b48a..d6e0b4ce39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6356,7 +6356,7 @@ exported-%: % $(AM_V_GEN)$(NM) -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@ exported: $(addprefix exported-, $(lib_LTLIBRARIES)) - $(AM_V_GEN)cat $^ > $@ + $(AM_V_GEN)sort -u $^ > $@ .PHONY: check-api-docs check-api-docs: exported man 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, |