From eb0922868516882f911dff2ff40c7c807e2ebf98 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 28 Jun 2023 22:17:48 +0200 Subject: [PATCH] silence checks --- usr/lib/archboot/installer/bootloader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/bootloader.sh b/usr/lib/archboot/installer/bootloader.sh index e670b4379..f4269cdca 100644 --- a/usr/lib/archboot/installer/bootloader.sh +++ b/usr/lib/archboot/installer/bootloader.sh @@ -39,7 +39,7 @@ _getcryptsetup() { elif [[ "${_NAME_SCHEME_PARAMETER}" == "FSLABEL" ]]; then _LUKSDEV="LABEL=$(${_LSBLK} LABEL "$(cryptsetup status "$(basename "${_ROOTDEV}")" 2>"${_NO_LOG}" | grep device: | sed -e 's#device:##g')")" else - _LUKSDEV="$(cryptsetup status "$(basename "${_ROOTDEV}")" | grep device: | sed -e 's#device:##g'))" + _LUKSDEV="$(cryptsetup status "$(basename "${_ROOTDEV}")" 2>"${_NO_LOG}" | grep device: | sed -e 's#device:##g'))" fi _LUKSNAME="$(basename "${_ROOTDEV}")" _LUKSSETUP="cryptdevice=${_LUKSDEV}:${_LUKSNAME}"