init: dashified $[] -> $(())
authorHarald Hoyer <harald@redhat.com>
Tue, 2 Feb 2010 14:21:51 +0000 (15:21 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 2 Feb 2010 14:21:51 +0000 (15:21 +0100)
modules.d/99base/init

index ab033a7..3b719c2 100755 (executable)
@@ -19,7 +19,7 @@ wait_for_loginit()
            [ -z "$j" ] && break
            [ -z "${j##*Running*}" ] || break
            sleep 0.1
-           i=$[$i+1]
+           i=$(($i+1))
        done    
        [ $i -eq 10 ] && kill %1 >/dev/null 2>&1