From 83e8ec9d22803313ffc2393c7c000b7e91ef647d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 12 May 2025 10:44:41 +0200 Subject: [PATCH] Update core.func --- misc/core.func | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/core.func b/misc/core.func index 75a635d..960e114 100644 --- a/misc/core.func +++ b/misc/core.func @@ -98,13 +98,19 @@ else fi set_std_mode() { - if [ "$VERBOSE" = "yes" ]; then + if [ "${VERBOSE:-no}" = "yes" ]; then STD="" else STD="silent" 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