Update index.py

pull/109/head
midoks 5 years ago
parent d6297e69a8
commit 1efa071492
  1. 2
      plugins/v2ray/index.py

@ -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'

Loading…
Cancel
Save