From 389d87c2b5a21ba0759027b62e78e43dbd136d67 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 15 Mar 2019 17:44:33 +0800 Subject: [PATCH] Update index.py --- plugins/rsyncd/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rsyncd/index.py b/plugins/rsyncd/index.py index bf8522c07..7802b699a 100755 --- a/plugins/rsyncd/index.py +++ b/plugins/rsyncd/index.py @@ -154,7 +154,7 @@ def initdInstall(): if public.isAppleSystem(): return "Apple Computer does not support" data = public.execShell('systemctl enable rsyncd.service') - if data[0] == '': + if data[0] != '': return 'fail' return 'ok'