aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/pw.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 /src/rspamadm/pw.c
parente77e2d42f4ee816c2eb859295e8ee8608f0bff93 (diff)
downloadrspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.tar.gz
rspamd-aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3.zip
[Minor] Fix exit codes usage to POSIX portable EXIT_FAILURE
Diffstat (limited to 'src/rspamadm/pw.c')
-rw-r--r--src/rspamadm/pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/pw.c b/src/rspamadm/pw.c
index c8e59cbc4..c81c96a94 100644
--- a/src/rspamadm/pw.c
+++ b/src/rspamadm/pw.c
@@ -373,7 +373,7 @@ rspamadm_pw (gint argc, gchar **argv, const struct rspamadm_command *cmd)
fprintf (stderr, "option parsing failed: %s\n", error->message);
g_error_free (error);
g_option_context_free (context);
- exit (1);
+ exit (EXIT_FAILURE);
}
g_option_context_free (context);