Update index.py

This commit is contained in:
midoks 2019-09-13 01:43:05 +08:00
parent 21f8766335
commit 2dec7ca48d
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ def initDreplace():
public.execShell('rm -rf /usr/lib/systemd/system/rsyncd*')
rlog = getLog()
public.writeFile(rlog, '')
if os.path.exists(rlog):
public.writeFile(rlog, '')
return file_bin