From 14c7ede3a3b653e54c813405f893fa86204f901b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 2 Dec 2019 15:15:52 +0100 Subject: [PATCH] lvm: vg create: followup for bogus warnings Signed-off-by: Thomas Lamprecht --- PVE/Storage/LVMPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/LVMPlugin.pm b/PVE/Storage/LVMPlugin.pm index bc01be8..c652e2a 100644 --- a/PVE/Storage/LVMPlugin.pm +++ b/PVE/Storage/LVMPlugin.pm @@ -94,7 +94,7 @@ sub lvm_create_volume_group { $cmd = ['/sbin/vgcreate', $vgname, $device]; # push @$cmd, '-c', 'y' if $shared; # we do not use this yet - run_command($cmd, errmsg => "vgcreate $vgname $device error", errfunc => $ignore_no_medium_warnings); + run_command($cmd, errmsg => "vgcreate $vgname $device error", errfunc => $ignore_no_medium_warnings, outfunc => $ignore_no_medium_warnings); } sub lvm_vgs {