]> git.ipfire.org Git - thirdparty/grub.git/commit
commands/search: Fix bug stopping iteration when --no-floppy is used
authorRenaud Métrich <rmetrich@redhat.com>
Tue, 8 Feb 2022 07:39:10 +0000 (08:39 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 7 Mar 2022 13:21:06 +0000 (14:21 +0100)
commit68ba54c2298604146be83cae144dafd1cfd1fe2d
treef1e54ba984449752f5a278c5b8120cfc072c7415
parentbe257de00c8edbbe8e26d83769c6d36ea1f2a734
commands/search: Fix bug stopping iteration when --no-floppy is used

When using --no-floppy and a floppy was encountered, iterate_device()
was returning 1, causing the iteration to stop instead of continuing.

Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/search.c