diff --git a/plugins/openresty/index.py b/plugins/openresty/index.py index bc5f71de6..ead69db9f 100755 --- a/plugins/openresty/index.py +++ b/plugins/openresty/index.py @@ -207,7 +207,7 @@ def restyOp(method): data = mw.execShell('systemctl ' + method + ' openresty') if data[1] == '': return 'ok' - return 'fail' + return data[1] data = mw.execShell(file + ' ' + method) if data[1] == '':