From f776e991e873318f31b47fd59f3f9c178cc6f3d6 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 22 Feb 2024 19:53:50 +0800 Subject: [PATCH] log --- scripts/lib/util.sh | 2 +- scripts/stop-all.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index 44bfa663c..271606c41 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -2885,7 +2885,7 @@ function openim::util::check_process_names_for_stop() { local all_stopped=true echo "dddddddddddddddddddddddddddddddddddd" for service in "${OPENIM_ALL_SERVICE_LIBRARIES[@]}"; do - echo "dddddddddddddddddddddddddddddddddddd" ${server} + echo "dddddddddddddddddddddddddddddddddddd" ${service} PIDS=$(pgrep -f "${service}") || PIDS="0" if [ "$PIDS" = "0" ]; then diff --git a/scripts/stop-all.sh b/scripts/stop-all.sh index 2120c5345..f3457f599 100755 --- a/scripts/stop-all.sh +++ b/scripts/stop-all.sh @@ -35,7 +35,7 @@ openim::util::stop_services_with_name "${OPENIM_OUTPUT_HOSTBIN}" - +sleep 5 result=$(openim::util::check_process_names_for_stop) if [[ $? -ne 0 ]]; then