Exit with non-zero on error

date	2005.03.09.21.35.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 15:44:01 +00:00
parent cb03a982ad
commit 3e017c2c66

View File

@ -2,7 +2,7 @@
/****************************************************************************** /******************************************************************************
* *
* Module Name: aslcompile - top level compile module * Module Name: aslcompile - top level compile module
* $Revision: 1.76 $ * $Revision: 1.77 $
* *
*****************************************************************************/ *****************************************************************************/
@ -683,6 +683,12 @@ CmCleanupAndExit (void)
} }
UtDisplaySummary (ASL_FILE_STDOUT); UtDisplaySummary (ASL_FILE_STDOUT);
if (Gbl_ExceptionCount[ASL_ERROR] > 0)
{
exit (1);
}
exit (0); exit (0);
} }