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 <
mgorny@gentoo.org>
---
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
--
2.37.3
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)