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 } # ------------------------------------------------------------------------------