diff options
Diffstat (limited to 'src/paste.c')
-rw-r--r-- | src/paste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/paste.c b/src/paste.c index 3663aaf6e..8f8f465b4 100644 --- a/src/paste.c +++ b/src/paste.c @@ -518,5 +518,5 @@ main (int argc, char **argv) if (have_read_stdin && fclose (stdin) == EOF) error (EXIT_FAILURE, errno, "-"); - exit (ok ? EXIT_SUCCESS : EXIT_FAILURE); + return ok ? EXIT_SUCCESS : EXIT_FAILURE; } |