From 376e759308c07c98b7b26d1291f5f78677280e00 Mon Sep 17 00:00:00 2001 From: Tapan Shah Date: Fri, 29 Aug 2014 20:37:32 +0000 Subject: =?UTF-8?q?Add=20CTRL+C=20support=20for=20=E2=80=98dh=E2=80=99=20c?= =?UTF-8?q?ommand.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah Reviewed-By: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15995 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c index 29801949d3..ca72a9f059 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c @@ -1,6 +1,7 @@ /** @file Main file for Dh shell Driver1 function. + Copyright (c) 2014, Hewlett-Packard Development Company, L.P.
Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -751,6 +752,10 @@ DoDhForHandleList( DriverInfo, TRUE ); + if (ShellGetExecutionBreakFlag ()) { + ShellStatus = SHELL_ABORTED; + break; + } } return (ShellStatus); } -- cgit v1.2.3