diff --git a/misc/core.func b/misc/core.func index 17bf5f9c..42207a5b 100644 --- a/misc/core.func +++ b/misc/core.func @@ -202,8 +202,10 @@ silent() { if [[ $rc -ne 0 ]]; then BASH_COMMAND="$cmd" - return $rc + error_handler "$rc" fi + + return $rc } # Function to download & save header files