From: Harald Hoyer Date: Sat, 15 Aug 2015 11:21:29 +0000 (+0200) Subject: iscsi/iscsiroot.sh: systemd-run does not understand --no-block X-Git-Tag: RHEL-7.2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88329f6b4f4581a50842d1fe82f11cb052e7f100;p=thirdparty%2Fdracut.git iscsi/iscsiroot.sh: systemd-run does not understand --no-block not yet on RHEL-7 --- diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh index 9452afec3..2ac9ed325 100755 --- a/modules.d/95iscsi/iscsiroot.sh +++ b/modules.d/95iscsi/iscsiroot.sh @@ -186,7 +186,7 @@ handle_netroot() is_active=$? if [ $is_active -ne 0 ]; then if [ "$status" != "activating" ] && ! systemctl is-failed "$netroot_enc" >/dev/null 2>&1; then - systemd-run --no-block --service-type=oneshot --remain-after-exit --quiet \ + systemd-run --service-type=oneshot --remain-after-exit --quiet \ --description="Login iSCSI Target $iscsi_target_name" \ --unit="$netroot_enc" -- \ $(command -v iscsistart) \