Browse Source

autotest: remove excessive close()s from showstate()'s error path

wip/maildir-path-under-inbox
Oswald Buddenhagen 3 years ago
parent
commit
5d7f2c7461
  1. 2
      src/run-tests.pl

2
src/run-tests.pl

@ -429,13 +429,11 @@ sub showstate($)
last OUTER if (!length($_));
if (!/^([^ ]+) (\d+)$/) {
print STDERR "Malformed sync state header entry: $_\n";
close FILE;
return;
}
$hdr{$1} = $2;
}
print STDERR "Unterminated sync state header.\n";
close FILE;
return;
}
my @T = ($hdr{'MaxPulledUid'} // "missing",

Loading…
Cancel
Save