aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c2
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)
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