mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
Script Refactoring
This commit is contained in:
parent
c7b91c188d
commit
f8ccdbec76
@ -38,7 +38,7 @@ start_tools() {
|
||||
local bin_full_path=$(get_tool_full_path "$binary")
|
||||
cmd=("$bin_full_path" -c "$OPENIM_OUTPUT_CONFIG")
|
||||
echo "Starting ${cmd[@]}"
|
||||
result="${cmd[@]}"
|
||||
result=$( "${cmd[@]}" 2>&1 )
|
||||
ret_val=$?
|
||||
if [ $ret_val -eq 0 ]; then
|
||||
echo "Started $bin_full_path successfully." $result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user