summaryrefslogtreecommitdiff
path: root/units/initrd-switch-root.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-09 17:36:40 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-20 20:00:09 +0100
commit6f4e2f97d738e720ae843cef67cf83e350aa7667 (patch)
tree95446654cbb4de3ea3ee9b0aa39aad420b0a45ac /units/initrd-switch-root.service.in
parentafe682bc7f1d9a089cb5dfb439929f3791c18d22 (diff)
units: drop --fail parameter from "systemctl switch-root" invocation
This parameter has no effect on switch root hence we shouldn't specify it.
Diffstat (limited to 'units/initrd-switch-root.service.in')
-rw-r--r--units/initrd-switch-root.service.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/initrd-switch-root.service.in b/units/initrd-switch-root.service.in
index 82893dafb1..219748d19b 100644
--- a/units/initrd-switch-root.service.in
+++ b/units/initrd-switch-root.service.in
@@ -15,6 +15,5 @@ AllowIsolate=yes
[Service]
Type=oneshot
-# we have to use "--force" here, otherwise systemd would umount /run
-ExecStart=@rootbindir@/systemctl --no-block --force switch-root /sysroot
+ExecStart=@rootbindir@/systemctl --no-block switch-root /sysroot
KillMode=none