armbian-next: fix quoting of retry var (cosmetic)

- this commit is proof of OCD
This commit is contained in:
Ricardo Pardini 2023-01-12 19:00:49 +01:00
parent d24f363187
commit df058ea3f1
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -17,7 +17,7 @@ function do_with_retries() {
display_alert "Command failed, retrying in ${sleep_seconds}s" "$*" "warn"
fi
unset RETRY_RUNS
sleep ${sleep_seconds}
sleep "${sleep_seconds}"
done
display_alert "Command failed ${counter} times, giving up" "$*" "warn"
return 1