From 094083854dcf99734aba49a43fdf2b14271abc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Py=C5=BCalski?= Date: Wed, 8 Jun 2016 11:55:23 +0200 Subject: [PATCH] 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). --- flexvolume/lvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexvolume/lvm b/flexvolume/lvm index ae9a1b15..bb73f47f 100755 --- a/flexvolume/lvm +++ b/flexvolume/lvm @@ -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}"