From 6802e197a6d586ce8c1346cd8c8e21c0fe9c728e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:03:32 +0800 Subject: [PATCH] update httpubus --- configfiles/httpubus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configfiles/httpubus b/configfiles/httpubus index 90afd70..b2e9846 100644 --- a/configfiles/httpubus +++ b/configfiles/httpubus @@ -25,7 +25,7 @@ start() { } stop() { - pidcount=$(pgrep "ubus-status" | wc -l) + local pidcount=$(pgrep "ubus-status" | wc -l) if [ "$pidcount" -eq 1 ]; then killall -9 ubus-status fi