Commit dfb52258 authored by mdj33's avatar mdj33 Committed by vipwzw

fix linter

parent 8d755418
......@@ -216,7 +216,7 @@ function block_wait() {
function check_docker_status() {
status=$(docker-compose ps | grep chain33_1 | awk '{print $6}')
statusPara=$(docker-compose ps | grep chain33_1 | awk '{print $3}')
if [ "${status}" == "Exit" or "${statusPara}" == "Exit" ]; then
if [ "${status}" == "Exit" ] || [ "${statusPara}" == "Exit" ]; then
echo "=========== chain33 service Exit logs ========== "
docker-compose logs chain33
echo "=========== chain33 service Exit logs End========== "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment