diff --git a/misc/core.func b/misc/core.func index 6986448..2c2a5d5 100644 --- a/misc/core.func +++ b/misc/core.func @@ -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