diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-08-22 22:03:22 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-23 14:48:25 +0200 |
commit | 687aac056d08ef7c0eafb3d610d3dcdce35b635a (patch) | |
tree | 0de0980dfa860528f4490c5e2785fa00ed722ff6 | |
parent | 20a63b2c18e9e69b02090d49b4aec399f082fdaf (diff) | |
download | busybox-w32-687aac056d08ef7c0eafb3d610d3dcdce35b635a.tar.gz busybox-w32-687aac056d08ef7c0eafb3d610d3dcdce35b635a.tar.bz2 busybox-w32-687aac056d08ef7c0eafb3d610d3dcdce35b635a.zip |
ash: when cd fails, say why
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
2748 | goto docd; | 2748 | goto docd; |
2749 | 2749 | ||
2750 | err: | 2750 | err: |
2751 | ash_msg_and_raise_error("can't cd to %s", dest); | 2751 | ash_msg_and_raise_perror("can't cd to %s", dest); |
2752 | /* NOTREACHED */ | 2752 | /* NOTREACHED */ |
2753 | out: | 2753 | out: |
2754 | if (flags & CD_PRINT) | 2754 | if (flags & CD_PRINT) |