summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 213db9b..1eb853d 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -119,7 +119,7 @@ extern int ln_main(int argc, char **argv)
status = EXIT_FAILURE;
optind++;
}
- exit(status);
+ return status;
}
/*