mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
silence checks
This commit is contained in:
parent
eb09228685
commit
3eb2ed33b9
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ _getraidarrays() {
|
||||||
_getcryptsetup() {
|
_getcryptsetup() {
|
||||||
_LUKSSETUP=""
|
_LUKSSETUP=""
|
||||||
if ! cryptsetup status "$(basename "${_ROOTDEV}")" | grep -q inactive; then
|
if ! cryptsetup status "$(basename "${_ROOTDEV}")" | grep -q inactive; then
|
||||||
if cryptsetup status "$(basename "${_ROOTDEV}")"; then
|
if cryptsetup status "$(basename "${_ROOTDEV}")" 2>"${_NO_LOG}"; then
|
||||||
if [[ "${_NAME_SCHEME_PARAMETER}" == "FSUUID" ]]; then
|
if [[ "${_NAME_SCHEME_PARAMETER}" == "FSUUID" ]]; then
|
||||||
_LUKSDEV="UUID=$(${_LSBLK} UUID "$(cryptsetup status "$(basename "${_ROOTDEV}")" 2>"${_NO_LOG}" | grep device: | sed -e 's#device:##g')")"
|
_LUKSDEV="UUID=$(${_LSBLK} UUID "$(cryptsetup status "$(basename "${_ROOTDEV}")" 2>"${_NO_LOG}" | grep device: | sed -e 's#device:##g')")"
|
||||||
elif [[ "${_NAME_SCHEME_PARAMETER}" == "FSLABEL" ]]; then
|
elif [[ "${_NAME_SCHEME_PARAMETER}" == "FSLABEL" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue