summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2002-02-13 03:32:11 +0000
committerGlenn L McGrath2002-02-13 03:32:11 +0000
commit8833a51781f4659045b37017f6e2239cf64fc36b (patch)
treee27524690e3946bab8ac72862623ed87038c1332
parent9bd49d6a22a31bd3b5e3e3dcaacdb8a019630506 (diff)
downloadbusybox-8833a51781f4659045b37017f6e2239cf64fc36b.zip
busybox-8833a51781f4659045b37017f6e2239cf64fc36b.tar.gz
Fix condition that prevented creation of compressed files
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index b640604..7662f4b 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -714,7 +714,7 @@ int tar_main(int argc, char **argv)
int verboseFlag = FALSE;
#ifdef CONFIG_FEATURE_TAR_GZIP
- if (untar_funct && untar_unzip) {
+ if (untar_funct & untar_unzip) {
error_msg_and_die("Creation of compressed tarfile not internally support by tar, pipe to busybox gunzip");
}
#endif // CONFIG_FEATURE_TAR_GZIP