Update index.py

This commit is contained in:
midoks
2023-06-28 14:58:45 +08:00
parent 70d12b7b8d
commit 4f7df4b3c3
+1 -1
View File
@@ -102,7 +102,7 @@ class App:
" |grep -v grep | grep -v nezha-agent | grep -v python | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'
return self.status_agent()
return 'start'
def status_agent(self):