From: Glenn L McGrath Date: Wed, 13 Feb 2002 03:32:11 +0000 (-0000) Subject: Fix condition that prevented creation of compressed files X-Git-Tag: 0_60_3~103 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8833a51781f4659045b37017f6e2239cf64fc36b;p=oweals%2Fbusybox.git Fix condition that prevented creation of compressed files --- 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