error-handler

This commit is contained in:
CanbiZ
2025-09-16 09:59:06 +02:00
parent ce79bd0c08
commit 0e66031e3c
2 changed files with 3 additions and 5 deletions

View File

@@ -202,10 +202,8 @@ silent() {
if [[ $rc -ne 0 ]]; then
BASH_COMMAND="$cmd"
error_handler "$rc"
return $rc
fi
return $rc
}
# Check if the shell is using bash