marsadm: skip new local deletes

This commit is contained in:
Thomas Schoebel-Theuer 2017-08-01 08:13:38 +02:00
parent 2c55e84b4d
commit 51709a9a4b

View File

@ -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";