units: drop --fail parameter from "systemctl switch-root" invocation
This parameter has no effect on switch root hence we shouldn't specify it.
This commit is contained in:
parent
afe682bc7f
commit
6f4e2f97d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue