fix retries

This commit is contained in:
Emil Lerch 2025-07-10 17:19:07 -07:00
parent b2aa80d7c1
commit 5951fa8088
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -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"