From f467193d2a879816c51d6538accf9969476ea0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:12:12 +0800 Subject: [PATCH] update httpubus --- configfiles/httpubus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configfiles/httpubus b/configfiles/httpubus index 20cffed..d14759e 100644 --- a/configfiles/httpubus +++ b/configfiles/httpubus @@ -27,7 +27,7 @@ start() { stop() { local pidcount=$(pgrep "ubus-status" | wc -l) if [ "$pidcount" -eq 0 ]; then - local pidcount=$(pgrep "ubus-status.sh" | wc -l) + pidcount=$(pgrep "ubus-status.sh" | wc -l) fi if [ "$pidcount" -gt 0 ]; then killall -9 ubus-status ubus-status.sh 2>/dev/null