Update index.py

pull/109/head
Mr Chen 6 years ago
parent d715c67029
commit 3ca596e9df
  1. 2
      plugins/rsyncd/index.py

@ -146,7 +146,7 @@ def initdStatus():
return "Apple Computer does not support"
data = public.execShell('systemctl status rsyncd.service | grep enabled')
if data[0] == '':
if data[1] == '':
return 'ok'
return 'fail'

Loading…
Cancel
Save