Update index.py

This commit is contained in:
Mr Chen
2024-07-20 02:26:13 +08:00
parent 1389f210de
commit 5b451e211f
+1 -1
View File
@@ -383,7 +383,7 @@ def initdStatus():
shell_cmd = 'systemctl status zabbix-server | grep loaded | grep "enabled;"'
data = mw.execShell(shell_cmd)
if data[0] == '':
return 'ok'
return 'fail'
return 'ok'