Update index.py

pull/109/head
Mr Chen 6 years ago
parent f5df5df9b0
commit 3602eb06fc
  1. 3
      plugins/pureftp/index.py

@ -59,8 +59,7 @@ def getArgs():
def status():
cmd = "ps -ef|grep " + getPluginName() + \
" |grep -v grep | grep -v python | awk '{print $2}'"
cmd = "ps -ef|grep pure-ftpd |grep -v grep | grep -v python | awk '{print $2}'"
data = public.execShell(cmd)
if data[0] == '':
return 'stop'

Loading…
Cancel
Save