mirror of https://github.com/acidanthera/audk.git
ShellPkg: Fix Ctrl+C support for dmpstore command.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah <tapandshah@hp.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15604 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
48178d7ab1
commit
148af38722
|
@ -1,6 +1,7 @@
|
|||
/** @file
|
||||
Main file for DmpStore shell Debug1 function.
|
||||
|
||||
(C) Copyright 2013-2014, Hewlett-Packard Development Company, L.P.
|
||||
Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -430,6 +431,11 @@ CascadeProcessVariables (
|
|||
//
|
||||
ShellStatus = CascadeProcessVariables(Name, Guid, Type, FileHandle, FoundVarName, FoundVarGuid, FoundOne);
|
||||
|
||||
if (ShellGetExecutionBreakFlag() || (ShellStatus == SHELL_ABORTED)) {
|
||||
SHELL_FREE_NON_NULL(FoundVarName);
|
||||
return (SHELL_ABORTED);
|
||||
}
|
||||
|
||||
//
|
||||
// No matter what happened we process our own variable
|
||||
// Only continue if Guid and VariableName are each either NULL or a match
|
||||
|
|
Loading…
Reference in New Issue