From 6c4f914bd1f32165a6d8771b314a7f22b37465a1 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Thu, 22 Feb 2024 13:18:46 +0800 Subject: [PATCH] fix: del the repeat func --- scripts/install/openim-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/openim-api.sh b/scripts/install/openim-api.sh index 09fa72f57..ba06048ea 100755 --- a/scripts/install/openim-api.sh +++ b/scripts/install/openim-api.sh @@ -46,7 +46,7 @@ function openim::api::start() { echo "++ OpenIM API config path: ${OPENIM_API_CONFIG}" readonly OPENIM_API_SERVER_LIBRARIES=("${OPENIM_OUTPUT_HOSTBIN}/${SERVER_NAME}") - openim::util::stop_services_with_name ${OPENIM_API_SERVER_LIBRARIES} + openim::util::stop_services_with_name ${OPENIM_API_SERVER_LIBRARIES[@]} openim::log::info "Starting ${SERVER_NAME} ..."