mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -154,7 +154,7 @@ def initdInstall():
|
|||||||
if public.isAppleSystem():
|
if public.isAppleSystem():
|
||||||
return "Apple Computer does not support"
|
return "Apple Computer does not support"
|
||||||
data = public.execShell('systemctl enable rsyncd.service')
|
data = public.execShell('systemctl enable rsyncd.service')
|
||||||
if data[0] == '':
|
if data[0] != '':
|
||||||
return 'fail'
|
return 'fail'
|
||||||
return 'ok'
|
return 'ok'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user