git: 5d3100f95bc3 - stable/14 - man.sh: revert trapping SIGPIPE

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 13 Nov 2024 04:56:07 UTC
The branch stable/14 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5d3100f95bc3558e12185a8c11e1d5f2a42f2965

commit 5d3100f95bc3558e12185a8c11e1d5f2a42f2965
Author:     Alexander Ziaee <concussious@runbox.com>
AuthorDate: 2024-06-10 04:04:51 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-11-13 04:53:43 +0000

    man.sh: revert trapping SIGPIPE
    
    PR:             279542
    Fixes:          14a5c1068d37
    Reported by:    emaste
    Reviewed by: imp, emaste, jilles
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1283
    
    (cherry picked from commit a85d870007e7dd94242a2084dbb750438332ac1e)
---
 usr.bin/man/man.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index ec14fe08cf67..3d1f4d2e9fe0 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -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.