aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/rspamd_http_bench.c2
-rw-r--r--utils/rspamd_http_server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/rspamd_http_bench.c b/utils/rspamd_http_bench.c
index 14d2db4f9..030b0b4b6 100644
--- a/utils/rspamd_http_bench.c
+++ b/utils/rspamd_http_bench.c
@@ -335,7 +335,7 @@ main (int argc, char **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);
}
rspamd_parse_inet_address (&addr, host, 0);
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);