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:
parent
e1f5ccf6fb
commit
b5642237fc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user