mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-18 21:27:54 +00:00
Quick fix: use quotes in bash comparison
This commit is contained in:
parent
346e36f52b
commit
27786ebe65
@ -3,11 +3,11 @@
|
||||
IMAGE=$1
|
||||
retries=0
|
||||
|
||||
while [ $retries -lt 3 ]; do
|
||||
while [ "$retries" -lt 3 ]; do
|
||||
let retries=retries+1
|
||||
docker push $IMAGE
|
||||
ret=$?
|
||||
if [ "$ret" -eq "0" ]; then
|
||||
if [ "$ret" -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user