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

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