diff options
Diffstat (limited to 'src/tsort.c')
-rw-r--r-- | src/tsort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsort.c b/src/tsort.c index 661c71730..8380ce809 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -557,5 +557,5 @@ main (int argc, char **argv) ok = tsort (optind == argc ? "-" : argv[optind]); - exit (ok ? EXIT_SUCCESS : EXIT_FAILURE); + return ok ? EXIT_SUCCESS : EXIT_FAILURE; } |