diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-24 15:44:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-27 22:27:56 +0200 |
commit | 665ed4ce5c2a6c749bf794860ccd4d62e8f278e0 (patch) | |
tree | c9d12cd748a1ae27fe84cea602ae89a44d840a6d /eclass | |
parent | eclass/tests: Add tests for unpacker.eclass (diff) | |
download | gentoo-665ed4ce5c2a6c749bf794860ccd4d62e8f278e0.tar.gz gentoo-665ed4ce5c2a6c749bf794860ccd4d62e8f278e0.tar.bz2 gentoo-665ed4ce5c2a6c749bf794860ccd4d62e8f278e0.zip |
unpacker.eclass: Remove `-f` from zstd arguments
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>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/unpacker.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |