diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-07-29 16:25:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-07-29 16:32:03 +0200 |
commit | 78490efca3a2854f9ac75f25eb8114432f555f2f (patch) | |
tree | e7ce3426875129742e2868ec6d9f7edb7fa3019e /units/initrd-fs.target | |
parent | Merge pull request #16585 from yuwata/network-dhcp6-fixes (diff) | |
download | systemd-78490efca3a2854f9ac75f25eb8114432f555f2f.tar.xz systemd-78490efca3a2854f9ac75f25eb8114432f555f2f.zip |
units: upgrade initrd check Conditions to Asserts
It's a bug if an initrd unit is run on the host. Hence let's upgrade the
conditions to asserts.
Diffstat (limited to 'units/initrd-fs.target')
-rw-r--r-- | units/initrd-fs.target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/initrd-fs.target b/units/initrd-fs.target index 33822bde66..49577c364f 100644 --- a/units/initrd-fs.target +++ b/units/initrd-fs.target @@ -12,7 +12,7 @@ Description=Initrd File Systems Documentation=man:systemd.special(7) OnFailure=emergency.target OnFailureJobMode=replace-irreversibly -ConditionPathExists=/etc/initrd-release +AssertPathExists=/etc/initrd-release After=initrd-parse-etc.service DefaultDependencies=no Conflicts=shutdown.target |