From 583096e0593835d55b985fd19b6a5b408b4d7598 Mon Sep 17 00:00:00 2001 From: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:28:36 +0100 Subject: [PATCH] Use variable instead of hard coded value (#7213) --- images/linux/scripts/helpers/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/helpers/install.sh b/images/linux/scripts/helpers/install.sh index 00678e495..4c5c4d9c7 100644 --- a/images/linux/scripts/helpers/install.sh +++ b/images/linux/scripts/helpers/install.sh @@ -33,7 +33,7 @@ download_with_retries() { return 0 else echo "Error — Either HTTP response code for '$URL' is wrong - '$http_code' or exit code is not 0 - '$exit_code'. Waiting $interval seconds before the next attempt, $retries attempts left" - sleep 30 + sleep $interval fi # Enable exit on error back set -e