Make 'make check' work on emu.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-27 02:00:16 +02:00
parent db99fbe83f
commit a6393224c4
16 changed files with 82 additions and 49 deletions

View file

@ -718,6 +718,9 @@ grub_dl_load (const char *name)
if (mod)
return mod;
if (grub_no_modules)
return 0;
if (! grub_dl_dir) {
grub_error (GRUB_ERR_FILE_NOT_FOUND, N_("variable `%s' isn't set"), "prefix");
return 0;