Revision: 16197
          http://sourceforge.net/p/edk2/code/16197
Author:   jcarsey
Date:     2014-10-07 19:58:43 +0000 (Tue, 07 Oct 2014)
Log Message:
-----------
ShellPkg: hexedit command does not return lasterror equal to 0 when exiting 
from editor

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by : Tapan Shah <[email protected]>

Reviewed-by: Jaben Carsey <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEdit.c

Modified: 
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEdit.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEdit.c    
2014-10-07 19:57:23 UTC (rev 16196)
+++ trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEdit.c    
2014-10-07 19:58:43 UTC (rev 16197)
@@ -1,6 +1,7 @@
 /** @file
   Main entry point of editor
   
+  (C) Copyright 2014, Hewlett-Packard Development Company, L.P.
   Copyright (c) 2005 - 2011, 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
@@ -241,7 +242,7 @@
       //
       HMainEditorCleanup ();
 
-      if (!EFI_ERROR (Status)) {
+      if (EFI_ERROR (Status)) {
         if (ShellStatus == SHELL_SUCCESS) {
           ShellStatus = SHELL_UNSUPPORTED;
         }


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to