Merge branch 'fix/script' of https://github.com/luhaoling/open-im-server into fix/script

pull/1953/head
luhaoling 2 years ago
commit 6748b8fb0b

@ -344,7 +344,7 @@ openim::util::check_ports() {
# Print information about ports whose processes are not running.
if [[ ${#not_started[@]} -ne 0 ]]; then
echo "\n### Not started ports:"
echo "### Not started ports:"
for port in "${not_started[@]}"; do
openim::log::error "Port $port is not started."
done
@ -352,7 +352,7 @@ openim::util::check_ports() {
# Print information about ports whose processes are running.
if [[ ${#started[@]} -ne 0 ]]; then
echo "\n### Started ports:"
echo "### Started ports:"
for info in "${started[@]}"; do
echo "$info"
done

Loading…
Cancel
Save