diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-09-15 22:50:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-09-15 23:05:46 +0100 |
commit | 4bc2d652db7130ace5f7a44fda0f42ca8bef4bae (patch) | |
tree | 0c70f346ea739ca06c8b02840c023c4c42156d7c /src/rspamadm | |
parent | fa4db7ea926595b0539f5c45c49250e7c6236c6a (diff) | |
download | rspamd-4bc2d652db7130ace5f7a44fda0f42ca8bef4bae.tar.gz rspamd-4bc2d652db7130ace5f7a44fda0f42ca8bef4bae.zip |
[Minor] Try to deal with some deprecations
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/signtool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rspamadm/signtool.c b/src/rspamadm/signtool.c index 678ee42a6..b28c36c8c 100644 --- a/src/rspamadm/signtool.c +++ b/src/rspamadm/signtool.c @@ -221,7 +221,11 @@ rspamadm_edit_file (const gchar *fname) } #if GLIB_MAJOR_VERSION >= 2 && GLIB_MINOR_VERSION >= 34 +# if GLIB_MINOR_VERSION >= 70 + if (!g_spawn_check_wait_status (retcode, &err)) { +# else if (!g_spawn_check_exit_status (retcode, &err)) { +# endif unlink (tmppath); rspamd_fprintf (stderr, "%s returned error code: %d - %e\n", editor, retcode, err); |