From 67dbfc856966345ac748937d78b24482eff132a1 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 13 Sep 2019 01:42:30 +0800 Subject: [PATCH] Update index.py --- plugins/rsyncd/index.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/rsyncd/index.py b/plugins/rsyncd/index.py index e3a11c5c0..d108057d1 100755 --- a/plugins/rsyncd/index.py +++ b/plugins/rsyncd/index.py @@ -129,6 +129,9 @@ def initDreplace(): if os.path.exists('/usr/lib/systemd/system/rsyncd.service'): public.execShell('rm -rf /usr/lib/systemd/system/rsyncd*') + rlog = getLog() + public.writeFile(rlog, '') + return file_bin