Update index.py

pull/119/head
midoks 3 years ago
parent 0b50803d8f
commit cc3cbe2047
  1. 2
      plugins/openresty/index.py

@ -207,7 +207,7 @@ def restyOp(method):
data = mw.execShell('systemctl ' + method + ' openresty') data = mw.execShell('systemctl ' + method + ' openresty')
if data[1] == '': if data[1] == '':
return 'ok' return 'ok'
return 'fail' return data[1]
data = mw.execShell(file + ' ' + method) data = mw.execShell(file + ' ' + method)
if data[1] == '': if data[1] == '':

Loading…
Cancel
Save