Blame SOURCES/0069-systemd-dracut-initqueue.sh-fstab-is-not-a-directory.patch

712866
From 866e663fbdedcf520388218151d0f666857b6f92 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Tue, 7 Jan 2014 16:39:48 +0100
712866
Subject: [PATCH] systemd/dracut-initqueue.sh: fstab is not a directory
712866
712866
---
712866
 modules.d/98systemd/dracut-initqueue.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
5c6c2a
index 1e05dcd0..37bc18f1 100755
712866
--- a/modules.d/98systemd/dracut-initqueue.sh
712866
+++ b/modules.d/98systemd/dracut-initqueue.sh
712866
@@ -67,7 +67,7 @@ while :; do
712866
 
712866
     main_loop=$(($main_loop+1))
712866
     if [ $main_loop -gt $RDRETRY ]; then
712866
-        if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
712866
+        if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
712866
             action_on_fail "Could not boot." && break
712866
         fi
712866
         warn "Not all disks have been found."