summaryrefslogtreecommitdiff
path: root/src/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/realpath.c')
-rw-r--r--src/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/realpath.c b/src/realpath.c
index 0c5532710..930530cd4 100644
--- a/src/realpath.c
+++ b/src/realpath.c
@@ -273,5 +273,5 @@ main (int argc, char **argv)
for (; optind < argc; ++optind)
ok &= process_path (argv[optind], can_mode);
- exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
+ return ok ? EXIT_SUCCESS : EXIT_FAILURE;
}