From 77239cef72030b86fbfdb7a68518fdb4bde57a97 Mon Sep 17 00:00:00 2001 From: Niall Donegan Date: Mon, 23 Jul 2012 15:03:19 +0100 Subject: [PATCH] Updated the line updating the "vg" variable. --- plugins/disk/lvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/disk/lvm b/plugins/disk/lvm index 0715aa01..df8bfbae 100755 --- a/plugins/disk/lvm +++ b/plugins/disk/lvm @@ -22,7 +22,7 @@ if [ "$1" = "autoconf" ]; then exit 0 fi -vg=`echo $0 | awk '{ sub(".*lvm_","",\$1); print \$1; }'` +vg=`echo $0 | awk '{ sub(".*lvm","",\$1); print \$1; }'` clean_name() { echo $1 | sed 's/[\/.-]/_/g'