Update index.py

This commit is contained in:
dami
2026-05-07 18:42:07 +08:00
parent 278bd7f38e
commit 0de3a16898
+1 -1
View File
@@ -118,7 +118,7 @@ def configScriptsTpl():
def status(): def status():
data = mw.execShell( data = mw.execShell(
"ps aux|grep keepalived |grep -v grep | grep -v python| awk '{print $2}'") "ps -ef|grep keepalived |grep -v grep | grep -v python| awk '{print $2}'")
if data[0] == '': if data[0] == '':
return 'stop' return 'stop'