From aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 29 Aug 2021 19:59:03 +0100 Subject: [Minor] Fix exit codes usage to POSIX portable EXIT_FAILURE --- test/rspamd_test_suite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c index 7d0136708..8c0dc1c29 100644 --- a/test/rspamd_test_suite.c +++ b/test/rspamd_test_suite.c @@ -48,7 +48,7 @@ main (int argc, char **argv) if (!g_option_context_parse (context, &argc, &argv, &error)) { fprintf (stderr, "option parsing failed: %s\n", error->message); g_option_context_free (context); - exit (1); + exit (EXIT_FAILURE); } /* Setup logger */ -- cgit v1.2.3