mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
'fixed space'
This commit is contained in:
parent
125a33f3aa
commit
f19916f077
1 changed files with 1 additions and 1 deletions
|
@ -2063,7 +2063,7 @@ getraidarrays() {
|
|||
|
||||
getcryptsetup() {
|
||||
CRYPTSETUP=""
|
||||
if ! [ "$(cryptsetup status $(basename $PART_ROOT) | grep inactive) " ]; then
|
||||
if ! [ "$(cryptsetup status $(basename $PART_ROOT) | grep inactive)" ]; then
|
||||
CRYPTDEVICE="$(echo $(cryptsetup status $(basename $PART_ROOT) | grep device: | sed -e 's#device:##g'))"
|
||||
CRYPTNAME="$(basename $PART_ROOT)"
|
||||
CRYPTSETUP="cryptdevice=$CRYPTDEVICE:$CRYPTNAME"
|
||||
|
|
Loading…
Reference in a new issue