From 036e00eff0707b1291d504f11979f2dfd16fcf0f Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 21 Mar 2024 18:46:30 +0800 Subject: [PATCH] Optimizing scripts --- 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 6bb330981..117e46c08 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -603,7 +603,7 @@ openim::util::stop_services_with_name() { # Iterate over each given service name. for server_name in "$@"; do # Use the `pgrep` command to find process IDs related to the given service name. - echo "Stopping services with names: $server_name" + echo "Stopping services with name: $server_name" local pids=$(pgrep -f "$server_name") # If no process was found with the name, add it to the not_stopped list