]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: don't create Requires for workdir if "missing ok"
authorMartin Wilck <mwilck@suse.com>
Wed, 24 Oct 2018 11:22:01 +0000 (13:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 09:35:59 +0000 (11:35 +0200)
commite1e74614aab41407e9199c65dd270516ac739015
tree3b594b20c19ef9cc6132f14daeeb9bc448f76a7f
parent4e412d2684519b6054a47866196b88d58b2fa3cf
core: don't create Requires for workdir if "missing ok"

Don't add an implicit RequiresMountsFor depenency for the
WorkingDirectory of a unit if the "-" character was used to
indicate that "a missing working directory is not considered fatal"
(see systemd.exec(5)). Otherwise systemd might fail the unit
because of missing dependencies.
src/core/unit.c