From 3e017c2c66208e66c90f3b763b6a733f9862e966 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 15:44:01 +0000 Subject: [PATCH] Exit with non-zero on error date 2005.03.09.21.35.00; author rmoore1; state Exp; --- source/compiler/aslcompile.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/compiler/aslcompile.c b/source/compiler/aslcompile.c index 3d2f66b7d..f36f09e65 100644 --- a/source/compiler/aslcompile.c +++ b/source/compiler/aslcompile.c @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: aslcompile - top level compile module - * $Revision: 1.76 $ + * $Revision: 1.77 $ * *****************************************************************************/ @@ -683,6 +683,12 @@ CmCleanupAndExit (void) } UtDisplaySummary (ASL_FILE_STDOUT); + + + if (Gbl_ExceptionCount[ASL_ERROR] > 0) + { + exit (1); + } exit (0); }