find_free_diskname: fixup regex match operator
Co-developed-by: Stoiko Ivanov <s.ivanov@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -339,7 +339,7 @@ my $find_free_diskname = sub {
|
|||||||
|
|
||||||
my $parser = sub {
|
my $parser = sub {
|
||||||
my $line = shift;
|
my $line = shift;
|
||||||
if ($line = m/^(.*)$/) { # untaint
|
if ($line =~ m/^(.*)$/) { # untaint
|
||||||
push @$disk_list, $1;
|
push @$disk_list, $1;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user