Improved return code for stop action
authorAlberto Di Meglio <alberto.di.meglio@cern.ch>
Thu, 24 Nov 2005 22:39:52 +0000 (22:39 +0000)
committerAlberto Di Meglio <alberto.di.meglio@cern.ch>
Thu, 24 Nov 2005 22:39:52 +0000 (22:39 +0000)
org.glite.deployment.lb/config/scripts/glite-lb-config.py

index 3f5f4f6..6057dc2 100644 (file)
@@ -153,6 +153,8 @@ python %s-config [OPTION...]""" % (self.name, os.environ['GLITE_LOCATION'], \
         
     def stop(self):
 
+        error_level = 0
+        
         pid = glib.getPID('bkserverd')
         if (pid != 0):
             os.system('%s/etc/init.d/glite-lb-bkserverd stop' % os.environ['GLITE_LOCATION'])