* grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop
on first error.
This commit is contained in:
parent
3f078c0fca
commit
c5dbdc3357
2 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue