diff --git a/entrypoint.sh b/entrypoint.sh index 37000ce..0111fd6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,7 +16,7 @@ if [ "${INPUT_UHUB_CONTROL}" != "false" ]; then # Generally takes a few seconds to settle in echo "waiting for device connection ($retries / 10)" sleep 1 - retries=$((i+1)) + retries=$((retries+1)) done if [ $retries -ge 10 ]; then echo "device is not available. Aborting"