diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2010-09-16 15:47:48 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-09-26 15:27:07 -0500 |
commit | 5a816f593df6c51faaf8e1480bc6651bddb82b78 (patch) | |
tree | 5ab4371c7be4a46e2cc3f5a82eb260c68b57e550 /src | |
parent | 87c2bf31e1f2992a1733f5ce368e7336aa782663 (diff) | |
download | bcfg2-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-x | src/sbin/bcfg2 | 2 |
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.""" |