From df058ea3f12d5613672b2596f24fac8a2dcd9b56 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 12 Jan 2023 19:00:49 +0100 Subject: [PATCH] armbian-next: fix quoting of retry var (cosmetic) - this commit is proof of OCD --- lib/functions/general/retry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/general/retry.sh b/lib/functions/general/retry.sh index 9cd1ed84fd..544182e05b 100644 --- a/lib/functions/general/retry.sh +++ b/lib/functions/general/retry.sh @@ -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