diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-02-13 03:32:11 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-02-13 03:32:11 +0000 |
commit | 8833a51781f4659045b37017f6e2239cf64fc36b (patch) | |
tree | e27524690e3946bab8ac72862623ed87038c1332 | |
parent | 9bd49d6a22a31bd3b5e3e3dcaacdb8a019630506 (diff) | |
download | busybox-w32-8833a51781f4659045b37017f6e2239cf64fc36b.tar.gz busybox-w32-8833a51781f4659045b37017f6e2239cf64fc36b.tar.bz2 busybox-w32-8833a51781f4659045b37017f6e2239cf64fc36b.zip |
Fix condition that prevented creation of compressed files
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index b64060402..7662f4baa 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -714,7 +714,7 @@ int tar_main(int argc, char **argv) | |||
714 | int verboseFlag = FALSE; | 714 | int verboseFlag = FALSE; |
715 | 715 | ||
716 | #ifdef CONFIG_FEATURE_TAR_GZIP | 716 | #ifdef CONFIG_FEATURE_TAR_GZIP |
717 | if (untar_funct && untar_unzip) { | 717 | if (untar_funct & untar_unzip) { |
718 | error_msg_and_die("Creation of compressed tarfile not internally support by tar, pipe to busybox gunzip"); | 718 | error_msg_and_die("Creation of compressed tarfile not internally support by tar, pipe to busybox gunzip"); |
719 | } | 719 | } |
720 | #endif // CONFIG_FEATURE_TAR_GZIP | 720 | #endif // CONFIG_FEATURE_TAR_GZIP |