ShellPkg: Error out when ProcessCommandLine fails

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15222 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Brendan Jackman 2014-02-11 22:43:36 +00:00 committed by jcarsey
parent 0477054bc0
commit da92bf853f
1 changed files with 4 additions and 1 deletions

View File

@ -359,7 +359,10 @@ UefiMain (
//
// Check the command line
//
Status = ProcessCommandLine();
Status = ProcessCommandLine ();
if (EFI_ERROR (Status)) {
goto FreeResources;
}
//
// If shell support level is >= 1 create the mappings and paths