summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-server
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin/bcfg2-server')
-rwxr-xr-xsrc/sbin/bcfg2-server3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server
index daa79d090..142ed766d 100755
--- a/src/sbin/bcfg2-server
+++ b/src/sbin/bcfg2-server
@@ -51,7 +51,8 @@ class Bcfg2Serv(Bcfg2.Server.Component.Component):
Bcfg2.Server.Component.Component.__init__(self, setup)
self.shut = False
except Bcfg2.Server.Component.ComponentInitError:
- self.shut = True
+ logger.critical("Failed to setup server")
+ raise SystemExit, 1
# set shutdown handlers for sigint and sigterm
signal.signal(signal.SIGINT, self.start_shutdown)