ShellPkg/ls: Display the correct directory path
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Tapan Shah <tapandshah@hpe.com>
This commit is contained in:
@ -442,6 +442,7 @@ PrintLsOutput(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!Sfo && !HeaderPrinted) {
|
if (!Sfo && !HeaderPrinted) {
|
||||||
|
PathRemoveLastItem (CorrectedPath);
|
||||||
PrintNonSfoHeader(CorrectedPath);
|
PrintNonSfoHeader(CorrectedPath);
|
||||||
}
|
}
|
||||||
PrintFileInformation(Sfo, Node, &FileCount, &FileSize, &DirCount);
|
PrintFileInformation(Sfo, Node, &FileCount, &FileSize, &DirCount);
|
||||||
|
Reference in New Issue
Block a user