Update wireguard.sh

fix update
This commit is contained in:
tteckster 2024-05-09 09:26:17 -04:00 committed by GitHub
parent 12bd10bef3
commit 0e01ceb460
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,10 @@ UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radio
3>&1 1>&2 2>&3)
header_info
if [ "$UPD" == "1" ]; then
msg_error "There is currently no update path available."
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC"
exit
fi
if [ "$UPD" == "2" ]; then