Skip to content

Commit 1bca999

Browse files
committed
--pd-disable: fix in uefi
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 3346fcd commit 1bca999

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • framework_lib/src/commandline

framework_lib/src/commandline/uefi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ pub fn parse(args: &[String]) -> Cli {
571571
};
572572
found_an_option = true;
573573
} else if arg == "--pd-disable" {
574-
cli.pd_reset = if args.len() > i + 1 {
574+
cli.pd_disable = if args.len() > i + 1 {
575575
if let Ok(pd) = args[i + 1].parse::<u8>() {
576576
Some(pd)
577577
} else {

0 commit comments

Comments
 (0)