[PATCH] nfsdclnts: Ignore SIGPIPE signal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes (RhBug: 1868828)

Signed-off-by: Kenneth D'souza <kennethdsouza94@xxxxxxxxx>
---
 tools/nfsdclnts/nfsdclnts.py | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
2.29.2




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux