commit 5d7f2c74614db0652421f3c6f4663263dac6b255 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Mon Jan 24 01:04:38 2022 +0100
autotest: remove excessive close()s from showstate()'s error path src/run-tests.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/run-tests.pl b/src/run-tests.pl index 035706cb..d8d8350b 100755 --- a/src/run-tests.pl +++ b/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", _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel