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-root-device.target | |
parent | 0cfb490fe9e3af39f7d7f9431b9fee9b5c98b992 (diff) | |
download | systemd-78490efca3a2854f9ac75f25eb8114432f555f2f.tar.gz |
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-root-device.target')
-rw-r--r-- | units/initrd-root-device.target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/initrd-root-device.target b/units/initrd-root-device.target index 580c666b23..bcb6909320 100644 --- a/units/initrd-root-device.target +++ b/units/initrd-root-device.target @@ -10,7 +10,7 @@ [Unit] Description=Initrd Root Device Documentation=man:systemd.special(7) -ConditionPathExists=/etc/initrd-release +AssertPathExists=/etc/initrd-release OnFailure=emergency.target OnFailureJobMode=replace-irreversibly DefaultDependencies=no |