1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 07:51:21 +03:00

coredumpctl: fix HAVE_XZ check

This commit is contained in:
Daniel Mack 2014-06-26 10:35:52 +02:00
parent 2fb8159fb3
commit 8ac8c5817f

View File

@ -644,7 +644,7 @@ static int save_core(sd_journal *j, int fd, char **path, bool *unlink_temp) {
goto error;
}
} else if (filename) {
#if HAVE_XZ
#ifdef HAVE_XZ
_cleanup_close_ int fdf;
fdf = open(filename, O_RDONLY | O_CLOEXEC);