summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-09-16 15:47:48 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-09-26 15:27:07 -0500
commit5a816f593df6c51faaf8e1480bc6651bddb82b78 (patch)
tree5ab4371c7be4a46e2cc3f5a82eb260c68b57e550 /src
parent87c2bf31e1f2992a1733f5ce368e7336aa782663 (diff)
downloadbcfg2-5a816f593df6c51faaf8e1480bc6651bddb82b78.tar.gz
bcfg2-5a816f593df6c51faaf8e1480bc6651bddb82b78.tar.bz2
bcfg2-5a816f593df6c51faaf8e1480bc6651bddb82b78.zip
bcfg2: fix fatal_error on 2.5+ (approach from https://me.yahoo.com/a/2SlxL.p_rsQD.KxOt3q32tWWsQ--#39bec) (Resolves #915)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6061 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index 073efc302..3407a1c53 100755
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -134,7 +134,7 @@ class Client:
def fatal_error(self, message):
"""Signal a fatal error."""
self.logger.error("Fatal error: %s" % (message))
- raise SystemExit(1)
+ os._exit(1)
def run(self):
"""Perform client execution phase."""