Fixed an error in lvm bash script

The space in this script is an obvious typo and caused an error
(trying to call volume_id as command).
This commit is contained in:
Szymon Pyżalski 2016-06-08 11:55:23 +02:00
parent 36ba2420ad
commit 094083854d
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ attach() {
VG=$(echo $1|jq -r '.volumegroup')
# LVM substitutes - with --
VOLUMEID= `echo $VOLUMEID|sed s/-/--/g`
VOLUMEID=`echo $VOLUMEID|sed s/-/--/g`
VG=`echo $VG|sed s/-/--/g`
DMDEV="/dev/mapper/${VG}-${VOLUMEID}"