mirror of https://github.com/schoebel/mars
marsadm: remove potentially dangerous internal _create_cluster() call
This commit is contained in:
parent
21a5d4160c
commit
84bb63ccc8
|
@ -838,7 +838,6 @@ sub create_res {
|
|||
my $primary;
|
||||
my $replay_nr = -1;
|
||||
if ($create) {
|
||||
_create_cluster(@_);
|
||||
mkdir($resdir);
|
||||
ldie "could not create resource '$res'\n" unless -d $resdir;
|
||||
set_link($size, "$resdir/size");
|
||||
|
|
Loading…
Reference in New Issue