man.sh: revert trapping SIGPIPE

PR:		279542
Fixes:		14a5c1068d
Reported by:	emaste
Reviewed by: imp, emaste, jilles
Pull Request: https://github.com/freebsd/freebsd-src/pull/1283
This commit is contained in:
Alexander Ziaee 2024-06-10 00:04:51 -04:00 committed by Warner Losh
parent 088cc7d221
commit a85d870007

View file

@ -36,9 +36,6 @@ ulimit -t 20
# do not ignore the exit status of roff tools
set -o pipefail
# ignore SIGPIPE exits because pagers may exit before reading all their input.
trap '' SIGPIPE
# Usage: add_to_manpath path
# Adds a variable to manpath while ensuring we don't have duplicates.
# Returns true if we were able to add something. False otherwise.