diff --git a/demo-10/scripts/volumes.sh b/demo-10/scripts/volumes.sh index 232b22b..9c959bb 100644 --- a/demo-10/scripts/volumes.sh +++ b/demo-10/scripts/volumes.sh @@ -4,7 +4,7 @@ set -ex vgchange -ay -DEVICE_FS=`blkid -o value -s TYPE ${DEVICE}` +DEVICE_FS=`blkid -o value -s TYPE ${DEVICE} || echo ""` if [ "`echo -n $DEVICE_FS`" == "" ] ; then # wait for the device to be attached DEVICENAME=`echo "${DEVICE}" | awk -F '/' '{print $3}'`