aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rspamd_http_server.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-29 19:59:03 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-29 19:59:03 +0100
commitaa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3 (patch)
tree4fea25ed38d2d4e4ed7a467dcfa1a4ca1ed52494 /utils/rspamd_http_server.c
parente77e2d42f4ee816c2eb859295e8ee8608f0bff93 (diff)
downloadrspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.tar.gz
rspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.zip
[Minor] Fix exit codes usage to POSIX portable EXIT_FAILURE
Diffstat (limited to 'utils/rspamd_http_server.c')
-rw-r--r--utils/rspamd_http_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rspamd_http_server.c b/utils/rspamd_http_server.c
index a1a91f599..f4b8e3b5f 100644
--- a/utils/rspamd_http_server.c
+++ b/utils/rspamd_http_server.c
@@ -264,7 +264,7 @@ main (int argc, gchar **argv)
if (!g_option_context_parse (context, &argc, &argv, &error)) {
rspamd_fprintf (stderr, "option parsing failed: %s\n", error->message);
g_error_free (error);
- exit (1);
+ exit (EXIT_FAILURE);
}
maps = g_hash_table_new (g_int_hash, g_int_equal);