diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-06-12 15:11:57 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-06-12 15:11:57 +0000 |
commit | 9675e9ba7f55a236c1e6c12bbebbeffb0d323ad9 (patch) | |
tree | 61cbac78029e61b9cbef3b76fbed1d0b8bf6dd9d /src/sbin | |
parent | a56114f22e093d61e7b9948cee858069cefcbf7a (diff) | |
download | bcfg2-9675e9ba7f55a236c1e6c12bbebbeffb0d323ad9.tar.gz bcfg2-9675e9ba7f55a236c1e6c12bbebbeffb0d323ad9.tar.bz2 bcfg2-9675e9ba7f55a236c1e6c12bbebbeffb0d323ad9.zip |
* Fix fatal server setup error
* Back out SSL code (for now)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1876 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-server | 3 |
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) |