mirror of https://github.com/acidanthera/audk.git
fix for exit was specified in the startup script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11114 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
15f3fc850c
commit
5f88eebe2b
|
@ -285,7 +285,7 @@ UefiMain (
|
||||||
Status = DoStartupScript(ShellInfoObject.ImageDevPath, ShellInfoObject.FileDevPath);
|
Status = DoStartupScript(ShellInfoObject.ImageDevPath, ShellInfoObject.FileDevPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((PcdGet8(PcdShellSupportLevel) >= 3 || PcdGetBool(PcdShellForceConsole)) && !EFI_ERROR(Status) && !ShellInfoObject.ShellInitSettings.BitUnion.Bits.NoConsoleIn) {
|
if (!ShellCommandGetExit() && (PcdGet8(PcdShellSupportLevel) >= 3 || PcdGetBool(PcdShellForceConsole)) && !EFI_ERROR(Status) && !ShellInfoObject.ShellInitSettings.BitUnion.Bits.NoConsoleIn) {
|
||||||
//
|
//
|
||||||
// begin the UI waiting loop
|
// begin the UI waiting loop
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue