Update wireguard.sh (#6898)

This commit is contained in:
Slaviša Arežina 2025-08-16 22:39:38 +02:00 committed by GitHub
parent faf10a9d5b
commit 8d4a81d28e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ function update_script() {
fi fi
apt-get update apt-get update
apt-get -y upgrade apt-get -y upgrade
if [[ ! -d /etc/wgdashboard ]]; then if [[ -d /etc/wgdashboard ]]; then
sleep 2 sleep 2
cd /etc/wgdashboard/src cd /etc/wgdashboard/src
./wgd.sh update ./wgd.sh update