[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 2/2] ash: when cd fails, say why
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2017-08-23 12:53:29
Message-ID: CAK1hOcNZbE_tCF-wnuW69OzDVUfOw4sZGOOcD7YXH+R_B6fSDg () mail ! gmail ! com
[Download RAW message or body]
Applied both, thanks
On Tue, Aug 22, 2017 at 10:03 PM, Johannes Schindelin
<johannes.schindelin@gmx.de> wrote:
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
> shell/ash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/shell/ash.c b/shell/ash.c
> index a67a45376..60bcd1b0a 100644
> --- a/shell/ash.c
> +++ b/shell/ash.c
> @@ -2748,7 +2748,7 @@ cdcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
> goto docd;
>
> err:
> - ash_msg_and_raise_error("can't cd to %s", dest);
> + ash_msg_and_raise_perror("can't cd to %s", dest);
> /* NOTREACHED */
> out:
> if (flags & CD_PRINT)
> --
> 2.14.1.windows.1.11.gc06fee21d46.dirty
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic