The branch master has been updated via bf57cab74b6d64f9d5bb3de8a6c77601ce208b74 (commit) from c7d32b6ba520461103015022d8b4095573ca9691 (commit)
- Log ----------------------------------------------------------------- commit bf57cab74b6d64f9d5bb3de8a6c77601ce208b74 Author: Richard Levitte <levi...@openssl.org> Date: Sun Nov 15 19:20:32 2020 +0100 util/find-doc-nits: check podchecker() return value From the Pod::Checker manual: > RETURN VALUE > podchecker returns the number of POD syntax errors found or > -1 if there were no POD commands at all found in the file. Reviewed-by: David von Oheimb <david.von.ohe...@siemens.com> (Merged from https://github.com/openssl/openssl/pull/13416) ----------------------------------------------------------------------- Summary of changes: util/find-doc-nits | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/find-doc-nits b/util/find-doc-nits index a581adfa35..c311d792f2 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -778,7 +778,8 @@ sub check { open my $OUT, '>', $temp or die "Can't open $temp, $!"; - podchecker($filename, $OUT); + err($id, "POD errors") + if podchecker($filename, $OUT) != 0; close $OUT; open $OUT, '<', $temp or die "Can't read $temp, $!";