mirror of https://github.com/acidanthera/audk.git
ShellPkg: Fix "-b" usage with timezone command.
signed-off-by: jcarsey reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12799 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
600927afa3
commit
8f04ca1a8f
|
@ -731,10 +731,10 @@ ShellCommandRunTimeZone (
|
|||
// parse the command line
|
||||
//
|
||||
if (PcdGet8(PcdShellSupportLevel) == 2) {
|
||||
Status = ShellCommandLineParse (TimeZoneParamList2, &Package, &ProblemParam, FALSE);
|
||||
Status = ShellCommandLineParse (TimeZoneParamList2, &Package, &ProblemParam, TRUE);
|
||||
} else {
|
||||
ASSERT(PcdGet8(PcdShellSupportLevel) == 3);
|
||||
Status = ShellCommandLineParseEx (TimeZoneParamList3, &Package, &ProblemParam, FALSE, TRUE);
|
||||
Status = ShellCommandLineParseEx (TimeZoneParamList3, &Package, &ProblemParam, TRUE, TRUE);
|
||||
}
|
||||
if (EFI_ERROR(Status)) {
|
||||
if (Status == EFI_VOLUME_CORRUPTED && ProblemParam != NULL) {
|
||||
|
|
Loading…
Reference in New Issue