mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 21:02:11 +08:00
Script Refactoring
This commit is contained in:
parent
7b79deab5c
commit
86c291c9df
@ -37,11 +37,6 @@ 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" | tail -n1)
|
result=$(openim::util::kill_exist_binary "$full_path" | tail -n1)
|
||||||
if [ "$result" -eq 0 ]; then
|
|
||||||
ehco "ttttttttttttt"
|
|
||||||
else
|
|
||||||
echo "$full_path running. waiting stop"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user