]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
iscsi/iscsiroot.sh: systemd-run does not understand --no-block
authorHarald Hoyer <harald@redhat.com>
Sat, 15 Aug 2015 11:21:29 +0000 (13:21 +0200)
committerHarald Hoyer <harald@redhat.com>
Sat, 15 Aug 2015 11:21:29 +0000 (13:21 +0200)
not yet on RHEL-7

modules.d/95iscsi/iscsiroot.sh

index 9452afec3e2c739961958145af79763d66e8968b..2ac9ed325d4eb64111be4cb9b24cf83abd42d343 100755 (executable)
@@ -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) \