From 3602eb06fc2e7be63c6c0ca75ae84cdf2a75e434 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 4 Jan 2019 16:32:19 +0800 Subject: [PATCH] Update index.py --- plugins/pureftp/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'