]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/dracut-initqueue.sh: fstab is not a directory
authorHarald Hoyer <harald@redhat.com>
Tue, 7 Jan 2014 15:39:48 +0000 (16:39 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 13 Jan 2014 08:51:04 +0000 (09:51 +0100)
modules.d/98systemd/dracut-initqueue.sh

index 1e05dcd03b4a305ae05a7107c4fd5345233b2915..37bc18f14c479d4d6ce217aedea856387a4fd770 100755 (executable)
@@ -67,7 +67,7 @@ while :; do
 
     main_loop=$(($main_loop+1))
     if [ $main_loop -gt $RDRETRY ]; then
-        if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
+        if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
             action_on_fail "Could not boot." && break
         fi
         warn "Not all disks have been found."