diff options
author | Jaben Carsey <jaben.carsey@intel.com> | 2014-09-03 17:44:53 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-03 17:44:53 +0000 |
commit | 5a51ad8d20911f31b526a566945f1915c2c41db2 (patch) | |
tree | 318a040474c8586fe56b6dd11a7e00e3e7c4e7b3 /ShellPkg | |
parent | 7c064c3189dbf0892167f99245431946b7a74266 (diff) | |
download | edk2-platforms-5a51ad8d20911f31b526a566945f1915c2c41db2.tar.xz |
Updates the logic to allow RM and CP to have silent/quiet mode work successfully.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16056 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c index 6cc5dcf691..e9a3ff4fdc 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c @@ -165,7 +165,9 @@ CascadeDelete( //
// now delete the current node...
//
- ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_RM_LOG_DELETE), gShellLevel2HiiHandle, Node->FullName);
+ if (!Quiet) {
+ ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_RM_LOG_DELETE), gShellLevel2HiiHandle, Node->FullName);
+ }
Status = gEfiShellProtocol->DeleteFile(Node->Handle);
Node->Handle = NULL;
}
|