From 5a816f593df6c51faaf8e1480bc6651bddb82b78 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 16 Sep 2010 15:47:48 +0000 Subject: 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 --- src/sbin/bcfg2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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.""" -- cgit v1.2.3-1-g7c22