mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update core.func
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user