about summary refs log tree commit diff
path: root/io/pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/pwd.c')
-rw-r--r--io/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/pwd.c b/io/pwd.c
index 21f4e51541..1624dc49a3 100644
--- a/io/pwd.c
+++ b/io/pwd.c
@@ -39,5 +39,5 @@ main (void)
       free (dir);
     }
 
-  exit (dir == NULL ? EXIT_FAILURE : EXIT_SUCCESS);
+  return (dir == NULL ? EXIT_FAILURE : EXIT_SUCCESS);
 }