* grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop

on first error.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-02-04 15:36:03 +01:00
parent 3f078c0fca
commit c5dbdc3357
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-02-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop
on first error.
2013-02-01 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/fshelp.c (find_file): Set oldnode to zero after

View file

@ -875,7 +875,10 @@ grub_cryptodisk_scan_device (const char *name,
/* Try to open disk. */
source = grub_disk_open (name);
if (!source)
return grub_errno;
{
grub_print_error ();
return 0;
}
err = grub_cryptodisk_scan_device_real (name, source);