efibootmgr: wrong check for opts.order
opts.order && !(opts.order) does not really make sense. Reported by: swildner
This commit is contained in:
parent
74e2b24f2c
commit
b95807751a
@ -295,7 +295,7 @@ parse_args(int argc, char *argv[])
|
||||
return;
|
||||
}
|
||||
|
||||
if (opts.order && !(opts.order))
|
||||
if (opts.order != NULL && *opts.order == '\0')
|
||||
errx(1, "%s", ORDER_USAGE);
|
||||
|
||||
if ((opts.set_inactive || opts.set_active) && !opts.has_bootnum)
|
||||
|
Loading…
x
Reference in New Issue
Block a user