diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/Chkconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/Chkconfig.py b/src/lib/Client/Tools/Chkconfig.py index c551d6134..0ef0b46ea 100644 --- a/src/lib/Client/Tools/Chkconfig.py +++ b/src/lib/Client/Tools/Chkconfig.py @@ -34,9 +34,9 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool): entry.get('name'))[0] # chkconfig/init.d service if entry.get('status') == 'on': - status = (len(onlevels) > 0 ) and pstatus + status = (len(onlevels) > 0 ) and not pstatus else: - status = (len(onlevels) == 0) and not pstatus + status = (len(onlevels) == 0) and pstatus if not status: if entry.get('status') == 'on': |