aboutsummaryrefslogtreecommitdiff
path: root/init.d/numlock.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/numlock.in')
-rw-r--r--init.d/numlock.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/numlock.in b/init.d/numlock.in
index c5b894a5..3cb8bee3 100644
--- a/init.d/numlock.in
+++ b/init.d/numlock.in
@@ -21,7 +21,7 @@ _setleds()
while [ $i -le $ttyn ]; do
setleds -D "$1"num < $dev$i || retval=1
- i=$(($i + 1))
+ : $(( i += 1 ))
done
return $retval