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

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