* commands/test.c (get_fileinfo): Return immediately if
grub_fs_probe fails.
+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>
* commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
}
fs = grub_fs_probe (dev);
+ if (! fs)
+ {
+ grub_free (device_name);
+ grub_device_close (dev);
+ return;
+ }
+
pathname = grub_strchr (path, ')');
if (! pathname)
pathname = path;