diff --git a/plugins/pureftp/index.py b/plugins/pureftp/index.py index 3b23e0e7d..b55312405 100755 --- a/plugins/pureftp/index.py +++ b/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'