diff --git a/task.py b/task.py index 207198c21..6ee7d24bc 100755 --- a/task.py +++ b/task.py @@ -506,7 +506,8 @@ def checkPHPVersion(version): return False # 检查Web服务是否启动 - # if result.find('Connection refused') != -1: + if result.find('Connection refused') != -1: + return False # global isTask # if os.path.exists(isTask): # isStatus = mw.readFile(isTask)