summaryrefslogtreecommitdiff
path: root/src/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comm.c')
-rw-r--r--src/comm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comm.c b/src/comm.c
index 5a3eec68f..b5c6840af 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -443,7 +443,7 @@ main (int argc, char **argv)
compare_files (argv + optind);
if (issued_disorder_warning[0] || issued_disorder_warning[1])
- exit (EXIT_FAILURE);
+ return EXIT_FAILURE;
else
- exit (EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}