]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg:?cd \? command fails to go back to the root directory of a file system
authorTapan Shah <tapandshah@hpe.com>
Fri, 7 Oct 2016 20:59:34 +0000 (13:59 -0700)
committerJaben Carsey <jaben.carsey@intel.com>
Wed, 12 Oct 2016 17:24:35 +0000 (10:24 -0700)
Allows cd command to go back to the root directory when 'cd \' executed in system.

This change prevents last PathRemoveLastItem() call which truncates '\' from 'fs0:\'
in desired root path which is required to set CWD to the root directory.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

No differences found