mirror of https://github.com/schoebel/mars
marsadm: wait for devices to {dis,}appear even on {prim,second}ary --force
This commit is contained in:
parent
767bb03060
commit
a26198d97e
|
@ -1400,7 +1400,6 @@ sub primary_phase3 {
|
||||||
# wait for device to appear / disappear
|
# wait for device to appear / disappear
|
||||||
sub primary_phase4 {
|
sub primary_phase4 {
|
||||||
my ($cmd, $res) = @_;
|
my ($cmd, $res) = @_;
|
||||||
return if $force;
|
|
||||||
if($cmd eq "secondary") {
|
if($cmd eq "secondary") {
|
||||||
check_mars_device($cmd, $res, 1, 1);
|
check_mars_device($cmd, $res, 1, 1);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue