diff options
| author | Elliott Hughes <enh@google.com> | 2019-01-08 11:49:44 -0800 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2019-01-08 19:14:35 -0600 |
| commit | 441bb479dad25bfad976689006130d6905b4b7f7 (patch) | |
| tree | 9916711e36eb1bd561c397005b9c02853f8927e7 | |
| parent | 60dea9ec5208b161d7720b6d6fb4e27219252661 (diff) | |
| download | toybox-441bb479dad25bfad976689006130d6905b4b7f7.tar.gz | |
xchdir: show the specific failure.
| -rw-r--r-- | lib/xwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c index 7e602d5f..04a4cae3 100644 --- a/lib/xwrap.c +++ b/lib/xwrap.c @@ -629,7 +629,7 @@ error: void xchdir(char *path) { - if (chdir(path)) error_exit("chdir '%s'", path); + if (chdir(path)) perror_exit("chdir '%s'", path); } void xchroot(char *path) |
