ShellPkg Http.c: Remove extra \n when using -m param

There is already `PRINT_HII (STRING_TOKEN (STR_GEN_CRLF), NULL);`
after `DownloadFile()`, remove this extra `\n` to avoid
printing extra blank lines.

Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
Yang Gang 2024-12-20 11:13:56 +08:00 committed by mergify[bot]
parent 1f19c3d6ee
commit 0df3729ad6

View File

@ -1690,7 +1690,7 @@ GetResponse (
if (!EFI_ERROR (gRT->GetTime (&EndTime, NULL))) {
ElapsedSeconds = EfiTimeToEpoch (&EndTime) - EfiTimeToEpoch (&StartTime);
Print (
L",%a%Lus\n",
L",%a%Lus",
ElapsedSeconds ? " " : " < ",
ElapsedSeconds > 1 ? (UINT64)ElapsedSeconds : 1
);