From ac6a50378c260b3e906e2c1f7903bcc7af7802e9 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 23 Jul 2024 09:25:38 +0200 Subject: [PATCH] silence zcat --- usr/lib/archboot/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/common.sh b/usr/lib/archboot/common.sh index 72f5318b1..2279fb7f7 100644 --- a/usr/lib/archboot/common.sh +++ b/usr/lib/archboot/common.sh @@ -172,7 +172,7 @@ _kver() { if [[ -f "${1}" ]]; then rg -Noazm 1 'ABCDEF\x00+(.*) \(.*@' -r '$1' "${1}" ||\ rg -Noazm 1 'Linux version (.*) \(.*@' -r '$1' "${1}" ||\ - zcat "${1}" | rg -Noazm 1 'Linux version (.*) \(.*@' -r '$1' + zcat "${1}" 2>"${_NO_LOG}" | rg -Noazm 1 'Linux version (.*) \(.*@' -r '$1' fi }