]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/coredump/coredump.c
coredump: add zstandard support for coredumps
[thirdparty/systemd.git] / src / coredump / coredump.c
index b88b2845840c8b99511ac1b057538fb734959be7..ff4238c91d7e86b1530ade5679e7f8cf82f49451 100644 (file)
@@ -420,7 +420,7 @@ static int save_external_coredump(
                 goto fail;
         }
 
-#if HAVE_XZ || HAVE_LZ4
+#if HAVE_XZ || HAVE_LZ4 || HAVE_ZSTD
         /* If we will remove the coredump anyway, do not compress. */
         if (arg_compress && !maybe_remove_external_coredump(NULL, st.st_size)) {