Skip to content

Commit

Permalink
txz-out: Fix this API to produce xz files again (RHBZ#972775).
Browse files Browse the repository at this point in the history
Commit 864ef70 (in Aug 2012) broke
the deprecated txz-out API.  Because of a thinko during this commit,
instead of producing xz files it produces bzip2 files.

Fix this API again.

Thanks: Bo Fan / Red Hat QA team.
  • Loading branch information
rwmjones committed Jun 10, 2013
1 parent 21f4278 commit 546b3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/tar.c
Expand Up @@ -405,5 +405,5 @@ int
do_txz_out (const char *dir)
{
optargs_bitmask = GUESTFS_TAR_OUT_COMPRESS_BITMASK;
return do_tar_out (dir, "bzip2", 0, NULL);
return do_tar_out (dir, "xz", 0, NULL);
}

0 comments on commit 546b3f3

Please sign in to comment.