From 3cc059e6a9af3f91d2bf25c40d2e40b374cc0be9 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 15 Mar 2019 17:42:27 +0800 Subject: [PATCH] Update index.py --- plugins/rsyncd/index.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/rsyncd/index.py b/plugins/rsyncd/index.py index 3a055d723..bf8522c07 100755 --- a/plugins/rsyncd/index.py +++ b/plugins/rsyncd/index.py @@ -147,9 +147,8 @@ def initdStatus(): data = public.execShell('systemctl status rsyncd.service | grep enabled') if data[0] == '': - return 'ok' - return 'fail' - + return 'fail' + return 'ok' def initdInstall(): if public.isAppleSystem():