systemd/dracut-initqueue.sh: added missing "then"
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 11:08:17 +0000 (13:08 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 11:08:17 +0000 (13:08 +0200)
modules.d/98systemd/dracut-initqueue.sh

index 893ebc47e93e1291eb5263d6318c04d335c0c8a7..d7ebf2b2aa7f7c1998597987b0dc9fb8cdfa594b 100755 (executable)
@@ -62,7 +62,7 @@ while :; do
     fi
 
     main_loop=$(($main_loop+1))
-    if [ $main_loop -gt $RDRETRY ];
+    if [ $main_loop -gt $RDRETRY ]; then
         if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
             action_on_fail "Could not boot." && break
         fi