]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
use $(( instead of $[
authorHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 13:33:42 +0000 (14:33 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 13:33:42 +0000 (14:33 +0100)
modules.d/99base/init

index 33c373ba61c5fde70a5dc9c68eaa5cb2a632e091..7ff6e4af51eca8665fed3797e4a975851b01f51e 100755 (executable)
@@ -75,7 +75,7 @@ while :; do
     done
     [ "$ROOTFS_MOUNTED" ] && break;
     sleep 1
-    i=$[$i+1]
+    i=$(($i+1))
     [ $i -gt 10 ] && emergency_shell
 done