From 963435c3f476ec2de74f3e4db0ae2fcb836b9a7c Mon Sep 17 00:00:00 2001 From: bug1 Date: Wed, 13 Feb 2002 03:32:11 +0000 Subject: Fix condition that prevented creation of compressed files git-svn-id: svn://busybox.net/trunk/busybox@4202 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- archival/tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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 -- cgit v1.2.3-55-g6feb