summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/sh/cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/cd.c b/bin/sh/cd.c
index 03eb462..26ad2f2 100644
--- a/bin/sh/cd.c
+++ b/bin/sh/cd.c
@@ -310,7 +310,7 @@ getpwd(void)
* /bin/pwd.
*/
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__SVR4)
-
+
if (getcwd(buf, sizeof(buf)) == NULL) {
char *pwd = getenv("PWD");
struct stat stdot, stpwd;
OpenPOWER on IntegriCloud