Blame SOURCES/0297-iscsi-iscsiroot.sh-systemd-run-does-not-understand-n.patch

712866
From 88329f6b4f4581a50842d1fe82f11cb052e7f100 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Sat, 15 Aug 2015 13:21:29 +0200
712866
Subject: [PATCH] iscsi/iscsiroot.sh: systemd-run does not understand
712866
 --no-block
712866
712866
not yet on RHEL-7
712866
---
712866
 modules.d/95iscsi/iscsiroot.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
5c6c2a
index 9452afec..2ac9ed32 100755
712866
--- a/modules.d/95iscsi/iscsiroot.sh
712866
+++ b/modules.d/95iscsi/iscsiroot.sh
712866
@@ -186,7 +186,7 @@ handle_netroot()
712866
         is_active=$?
712866
         if [ $is_active -ne 0 ]; then
712866
             if [ "$status" != "activating" ] && ! systemctl is-failed "$netroot_enc" >/dev/null 2>&1; then
712866
-                systemd-run --no-block --service-type=oneshot --remain-after-exit --quiet \
712866
+                systemd-run --service-type=oneshot --remain-after-exit --quiet \
712866
                             --description="Login iSCSI Target $iscsi_target_name" \
712866
                             --unit="$netroot_enc" -- \
712866
                             $(command -v iscsistart) \