summaryrefslogtreecommitdiff
path: root/coreutils/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/dirname.c')
-rw-r--r--coreutils/dirname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/dirname.c b/coreutils/dirname.c
index ce3cd6f..847842e 100644
--- a/coreutils/dirname.c
+++ b/coreutils/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);
}