diff --git a/virt-backup b/virt-backup index e7be1e4..a8b45a7 100644 --- a/virt-backup +++ b/virt-backup @@ -373,7 +373,7 @@ sub prepare_backup{ # name and Logical Volume name my $lvm = ''; if ($opts{lvm} eq '' and $dev =~ m!^/dev/!){ - my (undef,$lv,$vg) = split (/\s+/, `/sbin/lvs --noheadings -o lv_name,vg_name $dev