mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
the error when some elements are missing into a warning.
This commit is contained in:
1 parent
3f8cdd9052
commit
5d1182a66b
2 files changed
+11
-2
No files matched your search
@@ -296,8 +296,12 @@ grub_diskfilter_memberlist (grub_disk_t disk)
|
||||
for (pv = lv->vg->pvs; pv; pv = pv->next)
|
||||
{
|
||||
if (!pv->disk)
|
||||
grub_util_error (_("Couldn't find physical volume `%s'."
|
||||
" Check your device.map"), pv->name);
|
||||
{
|
||||
grub_util_warn (_("Couldn't find physical volume `%s'."
|
||||
" Some modules may be missing from core image."),
|
||||
pv->name);
|
||||
continue;
|
||||
}
|
||||
tmp = grub_malloc (sizeof (*tmp));
|
||||
tmp->disk = pv->disk;
|
||||
tmp->next = list;
|
||||
|
||||
Reference in new issue
Block a user