Update core.func

This commit is contained in:
CanbiZ 2025-05-09 15:45:28 +02:00
parent 2d9c8e6136
commit 3a7f4e1694

View File

@ -91,12 +91,9 @@ default_vars() {
# ------------------------------------------------------------------------------
# Sets default verbose mode for script and os execution.
# ------------------------------------------------------------------------------
if [ -v VERBOSE ]; then
echo "DEBUG: VERBOSE was already defined as '$VERBOSE'"
else
echo "DEBUG: VERBOSE was not defined, applying default"
fi
echo "DEBUG: VERBOSE: '$VERBOSE'"
VERBOSE="${1:-no}"
echo "DEBUG: VERBOSE: '$VERBOSE'"
set_std_mode() {
if [ "$VERBOSE" = "yes" ]; then