mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
testing error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user