From: Dobrica Pavlinusic Date: Fri, 19 Mar 2021 09:19:43 +0000 (+0100) Subject: fix VG=volume-group when empty (fallback to ssd) X-Git-Url: http://git.rot13.org/?p=gnt-info;a=commitdiff_plain;h=f378f623be5b3c88487ec253758e787d12515fda fix VG=volume-group when empty (fallback to ssd) --- diff --git a/gnt-lv2ssd.sh b/gnt-lv2ssd.sh index 02abf35..b43a5fa 100755 --- a/gnt-lv2ssd.sh +++ b/gnt-lv2ssd.sh @@ -16,7 +16,7 @@ fi test -z "$instance" && exit 1 -test ! -z "VG" && target_vg=$VG +test ! -z "$VG" && target_vg=$VG instance=`gnt-instance list --no-headers -o name $instance | head -1`