aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzless.in
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-11 12:23:58 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-11 12:23:58 +0200
commitd76c752a6d77052e5ad57ade555082585f7ac5d8 (patch)
treedbfee7586de09901d7bb779fe0fc47e58b049cfa /src/scripts/xzless.in
parentTranslations: Rename poa4/fr_FR.po to po4a/fr.po. (diff)
downloadxz-d76c752a6d77052e5ad57ade555082585f7ac5d8.tar.xz
Scripts: Ignore warnings from xz.
In practice this means making the scripts work when the input files have an unsupported check type which isn't a problem in practice unless support for some check types has been disabled at build time.
Diffstat (limited to 'src/scripts/xzless.in')
-rw-r--r--src/scripts/xzless.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/xzless.in b/src/scripts/xzless.in
index 0fc91763..79a849e2 100644
--- a/src/scripts/xzless.in
+++ b/src/scripts/xzless.in
@@ -50,9 +50,9 @@ fi
if test "$(less -V | { read _ ver _ && echo ${ver%%.*}; })" -ge 429; then
# less 429 or later: LESSOPEN pipe will be used on
# standard input if $LESSOPEN begins with |-.
- LESSOPEN="|-$xz -cdfq -- %s"
+ LESSOPEN="|-$xz -cdfqQ -- %s"
else
- LESSOPEN="|$xz -cdfq -- %s"
+ LESSOPEN="|$xz -cdfqQ -- %s"
fi
export LESSMETACHARS LESSOPEN