Correct make mancheck recipe

The current make recipe for mancheck silently ignores errors. Correct
the recipe so errors cause the mancheck recipe fail.

The zpool reopen command in the zpool.8 manpage had a bullet list
without an .El.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #6790
This commit is contained in:
Giuseppe Di Natale 2017-10-27 09:52:18 -07:00 committed by Brian Behlendorf
parent ee45fbd894
commit a94d38c0f3
2 changed files with 5 additions and 3 deletions

View File

@ -62,9 +62,10 @@ shellcheck:
mancheck: mancheck:
@if type mandoc > /dev/null 2>&1; then \ @if type mandoc > /dev/null 2>&1; then \
for file in zfs zpool zdb zgenhostid; do \ find ${top_srcdir}/man/man8 -type f -name 'zfs.8' \
mandoc -Tlint -Werror ${top_srcdir}/man/man8/$$file.8; \ -o -name 'zpool.8' -o -name 'zdb.8' \
done \ -o -name 'zgenhostid.8' | \
xargs mandoc -Tlint -Werror; \
fi fi
lint: cppcheck paxcheck lint: cppcheck paxcheck

View File

@ -1747,6 +1747,7 @@ Reopen all the vdevs associated with the pool.
.It Fl n .It Fl n
Do not restart an in-progress scrub operation. This is not recommended and can Do not restart an in-progress scrub operation. This is not recommended and can
result in partially resilvered devices unless a second scrub is performed. result in partially resilvered devices unless a second scrub is performed.
.El
.It Xo .It Xo
.Nm .Nm
.Cm remove .Cm remove