Commit 346ef0db authored by kalvin's avatar kalvin

修改log判断逻辑

parent 9e263071
......@@ -49,7 +49,7 @@ do
sleep 1
done
if [[ $count -eq 60 ]]
if [[ $count -eq 60 ]] && [[ $log_exist -eq 0 ]]; then
touch ./logs/error.log
echo "Log is not exist or java server start error." >> ./logs/error.log
fi
......
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