This commit is contained in:
CanbiZ
2025-05-07 16:05:08 +02:00
parent c4aecb5108
commit 40e0159a68
4 changed files with 0 additions and 9 deletions

View File

@@ -35,7 +35,6 @@ catch_errors() {
# This function is called when an error occurs. It receives the exit code, line number, and command that caused the error, and displays an error message.
error_handler() {
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/api.func)
if [ -n "$SPINNER_PID" ] && ps -p "$SPINNER_PID" >/dev/null; then kill "$SPINNER_PID" >/dev/null; fi
printf "\e[?25h"
local exit_code="$?"
local line_number="$1"
@@ -1127,7 +1126,6 @@ start() {
exit_script
exit
fi
SPINNER_PID=""
install_script
else
CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \
@@ -1152,8 +1150,6 @@ start() {
exit
;;
esac
SPINNER_PID=""
update_script
fi
}