marsadm: specific todo switches

This commit is contained in:
Thomas Schoebel-Theuer 2020-06-02 22:51:34 +02:00 committed by Thomas Schoebel-Theuer
parent 2664dc227e
commit f29d9ce540
1 changed files with 1 additions and 1 deletions

View File

@ -5249,7 +5249,7 @@ sub leave_res_phase0 {
my ($cmd, $res) = @_;
check_not_primary($cmd, $res, 1);
my $errors = 0;
foreach my $tmp (lamport_glob("$mars/resource-$res/todo-$host/*")) {
foreach my $tmp (lamport_glob("$mars/resource-$res/todo-$host/{attach,connect,allow-replay,sync}")) {
next if $tmp =~ m:/delete:;
my $status = get_link($tmp, 2);
if ($status) {