grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] archelp: If path given to grub_archelp_dir is not a director


From: Daniel Kiper
Subject: Re: [PATCH] archelp: If path given to grub_archelp_dir is not a directory return error
Date: Mon, 14 Aug 2023 16:07:28 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, Aug 14, 2023 at 01:03:41AM -0500, Glenn Washburn wrote:
> Specifically, return GRUB_ERR_BAD_FILE_TYPE because this is what is
> expected by the ls command when it is given a path to a non-directory.
> This fixes a bug where calling ls with a list of non-directory paths
> outputs a blank line for each such argument.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]