|
|
@ -14,11 +14,10 @@ kill_exist_binaries
|
|
|
|
|
|
|
|
|
|
|
|
result=$(check_binaries_stop)
|
|
|
|
result=$(check_binaries_stop)
|
|
|
|
ret_val=$?
|
|
|
|
ret_val=$?
|
|
|
|
|
|
|
|
|
|
|
|
if [ $ret_val -ne 0 ]; then
|
|
|
|
if [ $ret_val -ne 0 ]; then
|
|
|
|
echo "$result"
|
|
|
|
openim::log::print_red "Some services have not been stopped, details are as follows:"
|
|
|
|
echo "no stop..."
|
|
|
|
openim::log::print_red_two_lines "$result"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "all stop"
|
|
|
|
openim::log::print_green "All services have been stopped"
|