]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: drop --fail parameter from "systemctl switch-root" invocation
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Dec 2016 16:36:40 +0000 (17:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 19:00:09 +0000 (20:00 +0100)
This parameter has no effect on switch root hence we shouldn't specify it.

units/initrd-switch-root.service.in

index 82893dafb1001fce6a202c469f0a8120af15c40c..219748d19bef2e52afa37ee25749c9d4958d9bba 100644 (file)
@@ -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