From 6902faa74a7a2b7308b65f467f06b71588883990 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). --- examples/flexvolume/lvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flexvolume/lvm b/examples/flexvolume/lvm index ae9a1b15c4e..bb73f47f407 100755 --- a/examples/flexvolume/lvm +++ b/examples/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}"