Commit b5f5f73 ("[cmdline] Expand settings within each command-line token individually") introduced a regression into the "isset" command: it is now possible for command-line arguments to be empty strings, and so "isset" cannot simply check for a non-empty argument list. Restore previous behaviour by checking for the presence of any non-empty arguments, rather than checking for a non-empty argument list. Reported-by: Nemtallah Daher <n.daher@csuohio.edu> Tested-by: Nemtallah Daher <n.daher@csuohio.edu> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
476 | 476 |
|
477 | 477 |
|
478 | 478 |
|
479 |
|
|
479 | 480 |
|
480 | 481 |
|
481 | 482 |
|
482 | 483 |
|
483 | 484 |
|
484 | 485 |
|
485 |
|
|
486 |
|
|
486 |
|
|
487 |
|
|
488 |
|
|
489 |
|
|
490 |
|
|
491 |
|
|
492 |
|
|
487 | 493 |
|
488 | 494 |
|
489 | 495 |
|