aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth D'souza <kennethdsouza94@gmail.com>2021-03-15 10:33:29 -0400
committerSteve Dickson <steved@redhat.com>2021-03-15 13:59:14 -0400
commit7abd15e36349d11c4fa79b39f0798601bfdca697 (patch)
tree3d072aa8872e7739c10f738543e724d8648e3cfd
parentedeb381593d65a4519c71568c969d3e2937ad911 (diff)
downloadnfs-utils-7abd15e36349d11c4fa79b39f0798601bfdca697.tar.gz
nfsdclnts: Ignore SIGPIPE signal
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1868828 Signed-off-by: Kenneth D'souza <kennethdsouza94@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rwxr-xr-xtools/nfsdclnts/nfsdclnts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/nfsdclnts/nfsdclnts.py b/tools/nfsdclnts/nfsdclnts.py
index 5e7e03c2..b7280f2c 100755
--- a/tools/nfsdclnts/nfsdclnts.py
+++ b/tools/nfsdclnts/nfsdclnts.py
@@ -223,6 +223,7 @@ def nfsd4_show():
global verbose
verbose = False
+ signal.signal(signal.SIGPIPE, signal.SIG_DFL)
if args.verbose:
verbose = True