mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
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
|
// parse the command line
|
||||||
//
|
//
|
||||||
if (PcdGet8(PcdShellSupportLevel) == 2) {
|
if (PcdGet8(PcdShellSupportLevel) == 2) {
|
||||||
Status = ShellCommandLineParse (TimeZoneParamList2, &Package, &ProblemParam, FALSE);
|
Status = ShellCommandLineParse (TimeZoneParamList2, &Package, &ProblemParam, TRUE);
|
||||||
} else {
|
} else {
|
||||||
ASSERT(PcdGet8(PcdShellSupportLevel) == 3);
|
ASSERT(PcdGet8(PcdShellSupportLevel) == 3);
|
||||||
Status = ShellCommandLineParseEx (TimeZoneParamList3, &Package, &ProblemParam, FALSE, TRUE);
|
Status = ShellCommandLineParseEx (TimeZoneParamList3, &Package, &ProblemParam, TRUE, TRUE);
|
||||||
}
|
}
|
||||||
if (EFI_ERROR(Status)) {
|
if (EFI_ERROR(Status)) {
|
||||||
if (Status == EFI_VOLUME_CORRUPTED && ProblemParam != NULL) {
|
if (Status == EFI_VOLUME_CORRUPTED && ProblemParam != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user