mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user