mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 13:22:11 +08:00
Script Refactoring
This commit is contained in:
parent
d41a2b4b99
commit
eb530a908c
@ -18,9 +18,7 @@ kill_exist_binaries
|
|||||||
result=$(check_binaries_stop)
|
result=$(check_binaries_stop)
|
||||||
ret_val=$?
|
ret_val=$?
|
||||||
|
|
||||||
if [ $ret_val -eq 0 ]; then
|
if [ $ret_val -ne 0 ]; then
|
||||||
echo "All binaries are stopped."
|
|
||||||
else
|
|
||||||
echo "$result"
|
echo "$result"
|
||||||
echo "abort..."
|
echo "abort..."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user