Only manpages with fatal errors should be rendered by groff(1)

This commit is contained in:
Baptiste Daroussin 2015-01-03 23:39:44 +00:00
parent dad0c32719
commit 0489fbcd33

View File

@ -311,7 +311,7 @@ man_display_page() {
return
fi
testline="mandoc -Tlint -Werror 2>/dev/null"
testline="mandoc -Tlint -Wfatal 2>/dev/null"
pipeline="mandoc | $MANPAGER"
if ! eval "$cattool $manpage | $testline" ;then