From: Harald Hoyer Date: Tue, 7 Jan 2014 15:39:48 +0000 (+0100) Subject: systemd/dracut-initqueue.sh: fstab is not a directory X-Git-Tag: RHEL-7.1~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866e663fbdedcf520388218151d0f666857b6f92;p=thirdparty%2Fdracut.git systemd/dracut-initqueue.sh: fstab is not a directory --- diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh index 1e05dcd03..37bc18f14 100755 --- a/modules.d/98systemd/dracut-initqueue.sh +++ b/modules.d/98systemd/dracut-initqueue.sh @@ -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."