From 665ed4ce5c2a6c749bf794860ccd4d62e8f278e0 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 24 Sep 2022 15:44:29 +0200 Subject: unpacker.eclass: Remove `-f` from zstd arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove `-f` from zstd arguments. This option causes zstd to ignore input errors, notably causing it to pass invalid files through rather than returning an error. Closes: https://bugs.gentoo.org/872662 Signed-off-by: Michał Górny --- eclass/unpacker.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index f6e83c53bf23..c26523a419df 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -406,7 +406,7 @@ _unpacker() { : ${UNPACKER_LZIP:=$(type -P plzip || type -P pdlzip || type -P lzip)} comp="${UNPACKER_LZIP} -dc" ;; *.zst) - comp="zstd -dfc" ;; + comp="zstd -dc" ;; esac # then figure out if there are any archiving aspects -- cgit v1.2.3-65-gdbad