From 9505d578ed825e97827b8d9c18dad27fbb4cf56c Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 12 May 2025 10:35:02 +0200 Subject: [PATCH] Update core.func --- misc/core.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/core.func b/misc/core.func index efbaab4..b87be99 100644 --- a/misc/core.func +++ b/misc/core.func @@ -96,7 +96,7 @@ if [ -z "${VERBOSE+x}" ]; then else echo "DEBUG: VERBOSE (pre): '$VERBOSE'" fi -VERBOSE="${1:-no}" + set_std_mode() { if [ "$VERBOSE" = "yes" ]; then STD="" @@ -125,7 +125,7 @@ run_curl() { curl_handler() { local args=() local url="" - local max_retries=3 # Setting a default value + local max_retries=3 local delay=2 local attempt=1 local exit_code