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