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:
Lennart Poettering 2016-12-09 17:36:40 +01:00
parent afe682bc7f
commit 6f4e2f97d7
1 changed files with 1 additions and 2 deletions

View 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