From: Alberto Di Meglio Date: Thu, 24 Nov 2005 22:39:52 +0000 (+0000) Subject: Improved return code for stop action X-Git-Tag: glite-deployment-lb_R_2_1_1~74 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f7d962f3722b12db6e5269dbd498dd68080a172a;p=jra1mw.git Improved return code for stop action --- diff --git a/org.glite.deployment.lb/config/scripts/glite-lb-config.py b/org.glite.deployment.lb/config/scripts/glite-lb-config.py index 3f5f4f6..6057dc2 100644 --- a/org.glite.deployment.lb/config/scripts/glite-lb-config.py +++ b/org.glite.deployment.lb/config/scripts/glite-lb-config.py @@ -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'])