mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
silence error
This commit is contained in:
parent
ec1ce30c0c
commit
3440507251
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ _activate_luks()
|
|||
if [[ -e /usr/bin/cryptsetup ]]; then
|
||||
_dialog --infobox "Scanning for luks encrypted devices..." 0 0
|
||||
if ${_LSBLK} FSTYPE | grep -q "crypto_LUKS"; then
|
||||
for part in $(${_LSBLK} NAME,FSTYPE | grep " crypto_LUKS$" | cut -d' ' -f 1); do
|
||||
for part in $(${_LSBLK} NAME,FSTYPE 2>"${_NO_LOG}" | grep " crypto_LUKS$" | cut -d' ' -f 1); do
|
||||
# skip already encrypted devices, device mapper!
|
||||
if ! ${_LSBLK} TYPE "${part}" | grep -q "crypt$"; then
|
||||
_RUN_LUKS=""
|
||||
|
|
Loading…
Reference in a new issue