Update index.py

pull/109/head
Mr Chen 6 years ago
parent c87eb7255e
commit 5beee0fe21
  1. 2
      plugins/rsyncd/index.py

@ -59,7 +59,7 @@ def checkArgs(data, ck=[]):
def status(): def status():
data = public.execShell( data = public.execShell(
"ps -ef|grep smbd |grep -v grep | grep -v python | awk '{print $2}'") "ps -ef|grep rsync |grep -v grep | grep -v python | awk '{print $2}'")
if data[0] == '': if data[0] == '':
return 'stop' return 'stop'
return 'start' return 'start'

Loading…
Cancel
Save