Update wireguard.sh (#6898)
This commit is contained in:
parent
faf10a9d5b
commit
8d4a81d28e
@ -30,7 +30,7 @@ function update_script() {
|
||||
fi
|
||||
apt-get update
|
||||
apt-get -y upgrade
|
||||
if [[ ! -d /etc/wgdashboard ]]; then
|
||||
if [[ -d /etc/wgdashboard ]]; then
|
||||
sleep 2
|
||||
cd /etc/wgdashboard/src
|
||||
./wgd.sh update
|
||||
|
Loading…
x
Reference in New Issue
Block a user