Skip to content

Commit 56ee345

Browse files
author
charliefd
committed
removed leading 0 so base 10 is assumed
1 parent 2f739a3 commit 56ee345

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

create_dockerhost.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ if [ $? == 0 ]; then
3939
if [ $? == 1 ] ; then
4040
lastno=0
4141
fi
42+
lastno=$(echo $lastno | sed 's/^0*//')
4243
nextno=`printf "%02d" $((lastno+1))`
4344
INSTANCE_NAME=$INSTANCE_NAME$nextno
4445
fi

0 commit comments

Comments
 (0)