mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Script Refactoring
This commit is contained in:
parent
d0a0df24b5
commit
e04260192f
@ -30,7 +30,7 @@ start_binaries() {
|
||||
kill_exist_binaries(){
|
||||
for binary in "${!binaries[@]}"; do
|
||||
full_path=$(get_bin_full_path "$binary")
|
||||
result=$(openim::util::kill_exist_binary "$full_path")
|
||||
result=$(openim::util::kill_exist_binary "$full_path" | tail -n1)
|
||||
echo "result $result"
|
||||
if [ "$result" -eq 0 ]; then
|
||||
echo "$binary no exist"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user