autotest: remove excessive close()s from showstate()'s error path
This commit is contained in:
parent
254d2be9f4
commit
5d7f2c7461
|
@ -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…
Reference in New Issue
Block a user