From 0e01ceb460c72f096402c4f44e67471de6ef6628 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 9 May 2024 09:26:17 -0400 Subject: [PATCH] Update wireguard.sh fix update --- ct/wireguard.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ct/wireguard.sh b/ct/wireguard.sh index f2dc848a..5feee4ac 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -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