Update core.func
This commit is contained in:
parent
04b547ed84
commit
d097da2c7b
@ -91,12 +91,6 @@ default_vars() {
|
||||
# ------------------------------------------------------------------------------
|
||||
# Sets default verbose mode for script and os execution.
|
||||
# ------------------------------------------------------------------------------
|
||||
if [ -z "${VERBOSE+x}" ]; then
|
||||
echo "DEBUG: VERBOSE is unset"
|
||||
else
|
||||
echo "DEBUG: VERBOSE (pre): '$VERBOSE'"
|
||||
fi
|
||||
|
||||
set_std_mode() {
|
||||
if [ "${VERBOSE:-no}" = "yes" ]; then
|
||||
STD=""
|
||||
@ -105,12 +99,6 @@ set_std_mode() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -z "${VERBOSE+x}" ]; then
|
||||
echo "DEBUG: VERBOSE is unset"
|
||||
else
|
||||
echo "DEBUG: VERBOSE (pre): '$VERBOSE'"
|
||||
fi
|
||||
|
||||
# Silent execution function
|
||||
silent() {
|
||||
"$@" >/dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user