From 8d4a81d28e443d00ef3a4b35cebb04ff2d4a8a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sat, 16 Aug 2025 22:39:38 +0200 Subject: [PATCH] Update wireguard.sh (#6898) --- ct/wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/wireguard.sh b/ct/wireguard.sh index 9da383c75..430a50fa6 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -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