]> source.dussan.org Git - rspamd.git/commitdiff
Add a simple workaround to avoid configtest crashes
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 6 Jan 2016 17:46:09 +0000 (17:46 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 6 Jan 2016 17:46:09 +0000 (17:46 +0000)
src/rspamadm/configdump.c
src/rspamadm/configtest.c

index fbff4b23b6c8c0d80d7756960afcbac3e59d97c4..040759ade84ecb7ea08c4e2218010086eab00464 100644 (file)
@@ -227,4 +227,6 @@ rspamadm_configdump (gint argc, gchar **argv)
        if (!ret) {
                exit (EXIT_FAILURE);
        }
+
+       exit (EXIT_SUCCESS);
 }
index a32e499360cea2e5664b369f28ad3ff940dae327..d1154f49c5769463fff4af938c872f70a161778c 100644 (file)
@@ -186,4 +186,6 @@ rspamadm_configtest (gint argc, gchar **argv)
        if (!ret) {
                exit (EXIT_FAILURE);
        }
+
+       exit (EXIT_SUCCESS);
 }