diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-06-25 21:53:08 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-06-25 21:53:08 +0000 |
commit | 6f49cd266ba2d6b821457f013402c99c663a7e19 (patch) | |
tree | f1ef3a4c79a00ddff621b8be994f980d36c62f6d /bin/sh/sh.1 | |
parent | 19f49ad30f5ef296867e3675378e2ca010adfa1d (diff) |
Notes
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r-- | bin/sh/sh.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 02298b97b7aca..9163ad16dde48 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -2018,6 +2018,11 @@ to return exit status 1 if the full pathname of the new directory cannot be determined reliably or at all. Normally this is not considered an error, although a warning is printed. +.Pp +If changing the directory fails, the exit status is greater than 1. +If the directory is changed, the exit status is 0, or also 1 if +.Fl e +was given. .It Ic chdir A synonym for the .Ic cd |