* util/grub-probe.c (probe): Abort with an error if file can't be
opened via GRUB facilities.
+2009-11-11 Felix Zielcke <fzielcke@z-51.de>
+
+ * util/grub-probe.c (probe): Abort with an error if file can't be
+ opened via GRUB facilities.
+
2009-11-11 Felix Zielcke <fzielcke@z-51.de>
* util/i386/pc/grub-setup.c (setup): Make core.img path relative
free (rel_path);
grub_util_info ("reading %s via GRUB facilities", grub_path);
file = grub_file_open (grub_path);
+ if (! file)
+ grub_util_error ("can not open %s via GRUB facilities", grub_path);
filebuf_via_grub = xmalloc (file->size);
grub_file_read (file, filebuf_via_grub, file->size);