Update core.func
This commit is contained in:
parent
3a7f4e1694
commit
0f21fefe70
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user