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]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
# we have to use "--force" here, otherwise systemd would umount /run
|
ExecStart=@rootbindir@/systemctl --no-block switch-root /sysroot
|
||||||
ExecStart=@rootbindir@/systemctl --no-block --force switch-root /sysroot
|
|
||||||
KillMode=none
|
KillMode=none
|
||||||
|
|
Loading…
Reference in a new issue