Update core.func

This commit is contained in:
CanbiZ 2025-05-09 15:53:47 +02:00
parent 3a7f4e1694
commit 0f21fefe70

View File

@ -91,9 +91,11 @@ default_vars() {
# ------------------------------------------------------------------------------
# Sets default verbose mode for script and os execution.
# ------------------------------------------------------------------------------
echo "DEBUG: VERBOSE: '$VERBOSE'"
VERBOSE="${1:-no}"
echo "DEBUG: VERBOSE: '$VERBOSE'"
if [ -z "${VERBOSE+x}" ]; then
echo "DEBUG: VERBOSE is unset"
else
echo "DEBUG: VERBOSE (pre): '$VERBOSE'"
fi
set_std_mode() {
if [ "$VERBOSE" = "yes" ]; then