1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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

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