]> git.ipfire.org Git - thirdparty/man-pages.git/commit
lint-man.mk: lint-man-groff-eqn: Fix error detection
authorAlejandro Colomar <alx@kernel.org>
Fri, 10 Mar 2023 12:21:12 +0000 (13:21 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 10 Mar 2023 12:21:14 +0000 (13:21 +0100)
commit0440d04f831796e92d968422b8c49941e046cb8a
tree43759d7634f5a179eca2b7e9690a19f0f8e36116
parente728d5d1e639e5c803a84480ad727e7b02bac222
lint-man.mk: lint-man-groff-eqn: Fix error detection

eqn(1) could theoretically write _only_ newlines to standard error.
That's unlikely, but I'm still worried that someone (even me) might copy
this trick around, and use it in situations where that might actually
happen.  Let's be more precise, and fail when there's literally anything
on standard error.

Reported-by: Ralph Corderoy <ralph@inputplus.co.uk>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/lint-man.mk