From: Johannes Schindelin Date: Tue, 22 Aug 2017 20:03:22 +0000 (+0200) Subject: ash: when cd fails, say why X-Git-Tag: 1_28_0~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=687aac056d08ef7c0eafb3d610d3dcdce35b635a;p=oweals%2Fbusybox.git ash: when cd fails, say why Signed-off-by: Johannes Schindelin Signed-off-by: Denys Vlasenko --- 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)