testing error

This commit is contained in:
CanbiZ
2025-09-16 10:56:56 +02:00
parent cb29e50080
commit d89e19db74
2 changed files with 5 additions and 5 deletions

View File

@@ -199,10 +199,10 @@ silent() {
set -Eeuo pipefail
if [[ $rc -ne 0 ]]; then
# Store real command in a helper variable
LAST_SILENT_CMD="$cmd"
return $rc # let ERR trap fire
error_handler "$rc" "$cmd"
fi
return $rc
}
# Check if the shell is using bash