mirror of
https://github.com/schoebel/mars
synced 2025-03-06 05:17:38 +00:00
marsadm: skip new local deletes
This commit is contained in:
parent
2c55e84b4d
commit
51709a9a4b
@ -2150,6 +2150,7 @@ sub leave_res_phase0 {
|
||||
check_not_primary(@_) unless $force;
|
||||
my $errors = 0;
|
||||
foreach my $tmp (glob("$mars/resource-$res/todo-$host/*")) {
|
||||
next if $tmp =~ m:/delete:;
|
||||
my $status = get_link($tmp, 2);
|
||||
if ($status) {
|
||||
lwarn "switch '$tmp' is not off\n";
|
||||
|
Loading…
Reference in New Issue
Block a user