Update openwrt.sh

fixes https://github.com/tteck/Proxmox/issues/1842
This commit is contained in:
tteckster 2023-09-26 11:43:20 -04:00 committed by GitHub
parent 4ea0298644
commit d7ed355918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ BFR="\\r\\033[K"
HOLD="-" HOLD="-"
CM="${GN}${CL}" CM="${GN}${CL}"
CROSS="${RD}${CL}" CROSS="${RD}${CL}"
set -Eeuo pipefail set -Eeo pipefail
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
trap cleanup EXIT trap cleanup EXIT
function error_handler() { function error_handler() {