[git commit] tar: fix fallout of: change -a from meaning "lzma" to mean "autodetect by extension"

Denys Vlasenko vda.linux at googlemail.com
Fri Oct 25 08:30:53 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=e1a7c97ac640701973eea000007fc8b9f9dd7126
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 archival/tar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/archival/tar.c b/archival/tar.c
index 4f64d2286..4ab38db29 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -1029,7 +1029,7 @@ int tar_main(int argc UNUSED_PARAM, char **argv)
 		IF_FEATURE_TAR_CREATE("c--tx:t--cx:x--ct") // mutually exclusive
 		IF_NOT_FEATURE_TAR_CREATE("t--x:x--t") // mutually exclusive
 #if ENABLE_FEATURE_TAR_LONG_OPTIONS
-		":\xf9+" // --strip-components=NUM
+		":\xf8+" // --strip-components=NUM
 #endif
 		LONGOPTS
 		, &base_dir // -C dir


More information about the busybox-cvs mailing list