From: Tim Kientzle Date: Sat, 6 Feb 2010 20:30:53 +0000 (-0500) Subject: When trying to set LZMA compression, pay attention to the return value X-Git-Tag: v3.0.0a~1274 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=062b3dc123ca8ff8d9042164375c3ffb89b99761;p=thirdparty%2Flibarchive.git When trying to set LZMA compression, pay attention to the return value from libarchive. SVN-Revision: 1884 --- diff --git a/tar/write.c b/tar/write.c index f89277a80..0d5c65c99 100644 --- a/tar/write.c +++ b/tar/write.c @@ -221,7 +221,7 @@ tar_mode_c(struct bsdtar *bsdtar) r = archive_write_set_compression_xz(a); break; case OPTION_LZMA: - archive_write_set_compression_lzma(a); + r = archive_write_set_compression_lzma(a); break; case 'z': r = archive_write_set_compression_gzip(a);