summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-10-18 22:21:56 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-10-18 22:21:56 +0000
commitf7183389056241db9e003cbb4a426b350b24faf2 (patch)
treed29be5af90613aa731d5dedb92033153fd4ae87d /src
parenta4d081afda179a3c0726268a3b6436e150cb9183 (diff)
downloadbcfg2-f7183389056241db9e003cbb4a426b350b24faf2.tar.gz
bcfg2-f7183389056241db9e003cbb4a426b350b24faf2.tar.bz2
bcfg2-f7183389056241db9e003cbb4a426b350b24faf2.zip
add full path for chkconfig
(Logical change 1.339) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1393 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index 5d15ad192..afd7894de 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -126,7 +126,7 @@ class Redhat(Toolset):
if self.setup['remove'] in ['all', 'services']:
self.CondPrint('verbose', "Removing services: %s" % self.extra_services)
for service in self.extra_services:
- if not system("chkconfig %s off" % service):
+ if not system("/sbin/chkconfig %s off" % service):
self.extra_services.remove(service)
else:
self.CondPrint('verbose', "Need to remove services: %s" % self.extra_services)