Update core.func

This commit is contained in:
CanbiZ 2025-05-12 12:53:52 +02:00
parent 04b547ed84
commit d097da2c7b

View File

@ -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