diff --git a/plugins/openresty/index.py b/plugins/openresty/index.py index afa3d37d0..ef33f19aa 100755 --- a/plugins/openresty/index.py +++ b/plugins/openresty/index.py @@ -176,8 +176,7 @@ def initDreplace(): def status(): - data = public.execShell( - "ps -ef|grep nginx |grep -v grep | grep -v python | awk '{print $2}'") + data = public.execShell("ps -ef|grep nginx |grep -v grep | grep -v python | awk '{print $2}'") if data[0] == '': return 'stop' return 'start'