diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-29 19:59:03 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-29 19:59:03 +0100 |
commit | aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3 (patch) | |
tree | 4fea25ed38d2d4e4ed7a467dcfa1a4ca1ed52494 /test | |
parent | e77e2d42f4ee816c2eb859295e8ee8608f0bff93 (diff) | |
download | rspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.tar.gz rspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.zip |
[Minor] Fix exit codes usage to POSIX portable EXIT_FAILURE
Diffstat (limited to 'test')
-rw-r--r-- | test/rspamd_test_suite.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |