* grub-core/kern/file.c (grub_file_open): Don't take into account the
parenthesis in the middle of the filename.
This commit is contained in:
parent
b01abe3e16
commit
9ee8d94faa
2 changed files with 6 additions and 1 deletions
|
@ -68,7 +68,7 @@ grub_file_open (const char *name)
|
|||
goto fail;
|
||||
|
||||
/* Get the file part of NAME. */
|
||||
file_name = grub_strchr (name, ')');
|
||||
file_name = (name[0] == '(') ? grub_strchr (name, ')') : NULL;
|
||||
if (file_name)
|
||||
file_name++;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue