mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Skip warnings when creating an LV https://www.virtualmin.com/node/71145
This commit is contained in:
@@ -426,7 +426,7 @@ return @rv;
|
||||
sub create_logical_volume
|
||||
{
|
||||
local ($lv) = @_;
|
||||
local $cmd = "lvcreate -n".quotemeta($lv->{'name'})." ";
|
||||
local $cmd = "lvcreate -y -n".quotemeta($lv->{'name'})." ";
|
||||
local $suffix;
|
||||
if ($lv->{'size_of'} eq 'VG' || $lv->{'size_of'} eq 'FREE' ||
|
||||
$lv->{'size_of'} eq 'ORIGIN') {
|
||||
|
||||
Reference in New Issue
Block a user