From f6fdfee75979b6996725dd063e6dd7eef8860f2b Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Sun, 18 Feb 2024 16:52:25 +0800 Subject: [PATCH] fix: fix the script --- scripts/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index 7acb1fcdd..76503e944 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -486,7 +486,7 @@ openim::util::stop_services_on_ports() { local pid=$(echo $line | awk '{print $2}') # Try to stop the service by killing its process. - if kill -10 $pid; then + if kill -15 $pid; then stopped+=($port) else not_stopped+=($port)