mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Handle case where no skip list is given https://sourceforge.net/p/webadmin/bugs/4609/
This commit is contained in:
@@ -631,7 +631,10 @@ sub find_free_partitions
|
||||
&foreign_require("fdisk");
|
||||
&foreign_require("mount");
|
||||
&foreign_require("lvm");
|
||||
local %skip = map { $_, 1 } @{$_[0]};
|
||||
local %skip;
|
||||
if ($_[0]) {
|
||||
%skip = map { $_, 1 } @{$_[0]};
|
||||
}
|
||||
local %used;
|
||||
local $c;
|
||||
local $conf = &get_raidtab();
|
||||
|
||||
Reference in New Issue
Block a user