X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellLevel2CommandsLib%2FRm.c;h=e9a3ff4fdc0a9aa84afc4cc97ed00c02aed5b2f5;hb=5a51ad8d20911f31b526a566945f1915c2c41db2;hp=6cc5dcf69107a91a6ea98f0b6aa56a5fa5f4cf81;hpb=7c064c3189dbf0892167f99245431946b7a74266;p=mirror_edk2.git 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; }