]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 ab033a7621503b1abc698bfcd05a4bad242f7b37..3b719c28df43e02ae1c42eb4000d27b4882f0135 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