From eac91ab5c521f272ec3d1ad9dfda381caed067e1 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 12 Sep 2019 22:49:35 +0800 Subject: [PATCH] Update index.py --- plugins/rsyncd/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rsyncd/index.py b/plugins/rsyncd/index.py index 58f2d8d5a..bef71387f 100755 --- a/plugins/rsyncd/index.py +++ b/plugins/rsyncd/index.py @@ -183,9 +183,9 @@ def initdInstall(): if public.isAppleSystem(): return "Apple Computer does not support" - mysql_bin = initDreplace() + p_bin = initDreplace() initd_bin = getInitDFile() - shutil.copyfile(mysql_bin, initd_bin) + shutil.copyfile(p_bin, initd_bin) public.execShell('chmod +x ' + initd_bin) public.execShell('chkconfig --add ' + getPluginName()) return 'ok'