summaryrefslogtreecommitdiff
path: root/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirname.c')
-rw-r--r--dirname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirname.c b/dirname.c
index ce3cd6f..847842e 100644
--- a/dirname.c
+++ b/dirname.c
@@ -45,5 +45,5 @@ extern int dirname_main(int argc, char **argv)
if (s && *s)
*s = '\0';
printf("%s\n", (s)? *argv : ".");
- exit(TRUE);
+ return(TRUE);
}