diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index f67e3012e..a395c844b 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -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"