From c075f1417aef68cc3e3a858fc402adcd9d288b0a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 2 Nov 2015 09:53:30 +0100 Subject: [PATCH] Fix lvs path --- virt-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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