'fixed space'

This commit is contained in:
Tobias Powalowski 2009-04-20 23:06:19 +02:00
parent 125a33f3aa
commit f19916f077

View file

@ -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"