diff --git a/misc/core.func b/misc/core.func index 90a255a38..42207a5b9 100644 --- a/misc/core.func +++ b/misc/core.func @@ -202,7 +202,9 @@ silent() { if [[ $rc -ne 0 ]]; then BASH_COMMAND="$cmd" + error_handler "$rc" fi + return $rc }