summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-03-29 20:34:56 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-03-29 20:34:56 +0000
commit0c2400d60b5eb9b5b6a0b161224ed7a84b925049 (patch)
tree43c3a103f660cce57f65700758c593c7e4f57dce /src/sbin/bcfg2-server
parent53d678d24a60c6100bfcd95f49b2e40bf1093ca4 (diff)
downloadbcfg2-0c2400d60b5eb9b5b6a0b161224ed7a84b925049.tar.gz
bcfg2-0c2400d60b5eb9b5b6a0b161224ed7a84b925049.tar.bz2
bcfg2-0c2400d60b5eb9b5b6a0b161224ed7a84b925049.zip
* Remove build dep on python-dev
* Improve error handing when no ssl key is available git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1817 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-server')
-rwxr-xr-xsrc/sbin/bcfg2-server6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server
index 8e698e5ac..2b0d71d55 100755
--- a/src/sbin/bcfg2-server
+++ b/src/sbin/bcfg2-server
@@ -83,7 +83,11 @@ class Bcfg2Serv(Bcfg2.Server.Component.Component):
request_queue_size = 15
def __init__(self, setup):
- Bcfg2.Server.Component.Component.__init__(self, setup)
+ try:
+ Bcfg2.Server.Component.Component.__init__(self, setup)
+ except Bcfg2.Server.Component.ComponentInitError:
+ self.shut = True
+ return
self.shut = False
# set shutdown handlers for sigint and sigterm
signal.signal(signal.SIGINT, self.start_shutdown)