← Commit list

687aac056

Johannes Schindelin
Johannes Schindelin
2017-08-23
SUCCESS Duration: 144s

Subject

ash: when cd fails, say why

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+1 -1
@@ -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)