Commit 6902faa7 authored by Szymon Pyżalski's avatar Szymon Pyżalski

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).
parent 270e8596
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment