mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-29 22:35:12 +00:00
2009-09-14 Colin Watson <cjwatson@ubuntu.com>
* commands/test.c (get_fileinfo): Return immediately if grub_fs_probe fails.
This commit is contained in:
parent
dabf179886
commit
07197f2322
@ -1,3 +1,8 @@
|
|||||||
|
2009-09-14 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* commands/test.c (get_fileinfo): Return immediately if
|
||||||
|
grub_fs_probe fails.
|
||||||
|
|
||||||
2009-09-14 José Martínez <xosemp@gmail.com>
|
2009-09-14 José Martínez <xosemp@gmail.com>
|
||||||
|
|
||||||
* commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
|
* commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
|
||||||
|
@ -88,6 +88,13 @@ test_parse (char **args, int *argn, int argc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
fs = grub_fs_probe (dev);
|
fs = grub_fs_probe (dev);
|
||||||
|
if (! fs)
|
||||||
|
{
|
||||||
|
grub_free (device_name);
|
||||||
|
grub_device_close (dev);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
pathname = grub_strchr (path, ')');
|
pathname = grub_strchr (path, ')');
|
||||||
if (! pathname)
|
if (! pathname)
|
||||||
pathname = path;
|
pathname = path;
|
||||||
|
Loading…
Reference in New Issue
Block a user