summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--update-rc.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-rc.d b/update-rc.d
index 976b4cb..e07cf85 100644
--- a/update-rc.d
+++ b/update-rc.d
@@ -232,7 +232,7 @@ case $1 in
exit 1
fi
shift
- NN=`printf %02d $1`
+ NN=`printf %02d $(expr $1 + 0)`
shift
while [ "x$1" != "x." ]; do
if [ $# -eq 0 ]; then