diff --git a/ChangeLog b/ChangeLog index f5396fe79..0994ee716 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-04 Vladimir Serbinenko + + * grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop + on first error. + 2013-02-01 Vladimir Serbinenko * grub-core/fs/fshelp.c (find_file): Set oldnode to zero after diff --git a/grub-core/disk/cryptodisk.c b/grub-core/disk/cryptodisk.c index ce755c3a2..f39c1ab01 100644 --- a/grub-core/disk/cryptodisk.c +++ b/grub-core/disk/cryptodisk.c @@ -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);