chiark / gitweb /
unit: fix complementing of requirement deps with After deps for targets
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 23 Sep 2011 11:58:00 +0000 (13:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Sep 2011 14:28:27 +0000 (16:28 +0200)
commita65cb51f29ee177f6f800c87232b68475216a418
tree9061048ce580a3a695294bf52f1b92b25474beb3
parent799f46d36f1c1f5ce8f638f453feeede3e6842fc
unit: fix complementing of requirement deps with After deps for targets

'man systemd.target' says:
  Unless DefaultDependencies= is set to false, target units will
  implicitly complement all configured dependencies of type
  Wants=, Requires=, RequiresOverridable= with dependencies of type
  After=  if the units in question also have DefaultDependencies=true.

It did not work because of a forgotten negation.
src/unit.c