From 4c040d88fc3ad4ab9f250393f76115b360f219a8 Mon Sep 17 00:00:00 2001 From: darkclip Date: Mon, 8 Jan 2024 03:51:28 +0800 Subject: [PATCH] update --- wg-watch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wg-watch.sh b/wg-watch.sh index 416de363..9e18656c 100755 --- a/wg-watch.sh +++ b/wg-watch.sh @@ -355,7 +355,7 @@ while getopts ":46i:c:a:l:p:e:k:td" OPT; do done; -if [ $(already_running "$@") -eq 1 ]; then +if [ $(uname -i) = 'pfSense' ] && [ $(already_running "$@") -eq 1 ]; then echo "Another process is already running."; exit; fi;