From 96817a9cb34414555e73a7a249986b3d72266872 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 9 May 2025 15:32:43 +0200 Subject: [PATCH] Update core.func --- misc/core.func | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/core.func b/misc/core.func index 1d0ad6d..3aefdd7 100644 --- a/misc/core.func +++ b/misc/core.func @@ -102,7 +102,11 @@ set_std_mode() { # Silent execution function silent() { - "$@" >/dev/null 2>&1 + if [ "$VERBOSE" = "no" ]; then + "$@" >/dev/null 2>&1 || return 1 + else + "$@" || return 1 + fi } # ------------------------------------------------------------------------------