* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end

of function to allow further scanning for LVMs.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-03 15:57:44 +02:00
parent 829ea451a4
commit 6f33215394
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
of function to allow further scanning for LVMs.
2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close

View File

@ -838,6 +838,7 @@ grub_lvm_scan_device (const char *name)
grub_disk_close (disk);
if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
grub_errno = GRUB_ERR_NONE;
grub_print_error ();
return 0;
}