* grub-core/kern/corecmd.c (grub_core_cmd_ls): Fix handling of paths
without a device name.
This commit is contained in:
parent
69544d1e43
commit
b8578da640
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-06-02 Francesco Lavra <francescolavra.fl@gmail.com>
|
||||
|
||||
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Fix handling of paths
|
||||
without a device name.
|
||||
|
||||
2013-06-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Remove enable_executable_check as it's not needed anymore.
|
||||
|
|
|
@ -134,7 +134,7 @@ grub_core_cmd_ls (struct grub_command *cmd __attribute__ ((unused)),
|
|||
|
||||
fs = grub_fs_probe (dev);
|
||||
path = grub_strchr (argv[0], ')');
|
||||
if (! *path)
|
||||
if (! path)
|
||||
path = argv[0];
|
||||
else
|
||||
path++;
|
||||
|
|
Loading…
Reference in a new issue