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: 035~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a3676a88f2dfffb9588f70c3ecd0a016eda7a51;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."