summaryrefslogtreecommitdiffhomepage
path: root/coreutils/pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/pwd.c')
-rw-r--r--coreutils/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/pwd.c b/coreutils/pwd.c
index 146ef332b..87553b3de 100644
--- a/coreutils/pwd.c
+++ b/coreutils/pwd.c
@@ -34,5 +34,5 @@ extern int pwd_main(int argc, char **argv)
fatalError("pwd: %s\n", strerror(errno));
printf("%s\n", buf);
- exit(TRUE);
+ return(TRUE);
}