From: Lennart Poettering Date: Fri, 9 Dec 2016 16:36:40 +0000 (+0100) Subject: units: drop --fail parameter from "systemctl switch-root" invocation X-Git-Tag: v233~237^2~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f4e2f97d738e720ae843cef67cf83e350aa7667;p=thirdparty%2Fsystemd.git units: drop --fail parameter from "systemctl switch-root" invocation This parameter has no effect on switch root hence we shouldn't specify it. --- diff --git a/units/initrd-switch-root.service.in b/units/initrd-switch-root.service.in index 82893dafb10..219748d19be 100644 --- a/units/initrd-switch-root.service.in +++ b/units/initrd-switch-root.service.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