Ooops! Previous commit added an over-zealous error check.

It is, in fact, perfectly legal to not specify a compression when
writing an archive. <sigh>
This commit is contained in:
Tim Kientzle 2004-06-07 03:38:17 +00:00
parent e1f5ccf6fb
commit b5642237fc

View File

@ -165,6 +165,8 @@ tar_mode_c(struct bsdtar *bsdtar)
archive_write_set_bytes_per_block(a, DEFAULT_BYTES_PER_BLOCK);
switch (bsdtar->create_compression) {
case 0:
break;
case 'j': case 'y':
archive_write_set_compression_bzip2(a);
break;