Merge "Fix a crash when parsing fastboot command-line arguments"
This commit is contained in:
commit
517f6d476e
1 changed files with 1 additions and 2 deletions
|
|
@ -1648,8 +1648,7 @@ int main(int argc, char **argv)
|
||||||
wants_reboot = false;
|
wants_reboot = false;
|
||||||
wants_reboot_bootloader = true;
|
wants_reboot_bootloader = true;
|
||||||
skip(1);
|
skip(1);
|
||||||
}
|
} else if (!strcmp(*argv, "emergency")) {
|
||||||
if (!strcmp(*argv, "emergency")) {
|
|
||||||
wants_reboot = false;
|
wants_reboot = false;
|
||||||
wants_reboot_emergency = true;
|
wants_reboot_emergency = true;
|
||||||
skip(1);
|
skip(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue