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 /src/rspamd.c | |
parent | e77e2d42f4ee816c2eb859295e8ee8608f0bff93 (diff) | |
download | rspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.tar.gz rspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.zip |
[Minor] Fix exit codes usage to POSIX portable EXIT_FAILURE
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 978980706..987ac8c5c 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -178,7 +178,7 @@ read_cmd_line (gint *argc, gchar ***argv, struct rspamd_config *cfg) 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); } cfg->rspamd_user = rspamd_user; |