Update index.py

This commit is contained in:
midoks
2020-06-08 08:29:49 +08:00
parent d6297e69a8
commit 1efa071492
+1 -1
View File
@@ -106,7 +106,7 @@ def getInitDFile():
def initdStatus():
shell_cmd = 'systemctl status v2ray.service | grep running'
shell_cmd = 'systemctl status v2ray.service | grep loaded | grep "enabled;"'
data = public.execShell(shell_cmd)
if data[0] == '':
return 'fail'