diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 0acfb2d..41d89b5 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -339,7 +339,7 @@ my $find_free_diskname = sub { my $parser = sub { my $line = shift; - if ($line = m/^(.*)$/) { # untaint + if ($line =~ m/^(.*)$/) { # untaint push @$disk_list, $1; } };