diff mbox series

nfsdclnts: Ignore SIGPIPE signal

Message ID 20210308120157.36053-1-kennethdsouza94@gmail.com (mailing list archive)
State New, archived
Headers show
Series nfsdclnts: Ignore SIGPIPE signal | expand

Commit Message

Kenneth D'souza March 8, 2021, 12:01 p.m. UTC
Fixes (RhBug: 1868828)

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

Comments

Steve Dickson March 15, 2021, 7:37 p.m. UTC | #1
On 3/8/21 7:01 AM, Kenneth D'souza wrote:
> Fixes (RhBug: 1868828)
> 
> Signed-off-by: Kenneth D'souza <kennethdsouza94@gmail.com>
Committed... (tag: nfs-utils-2-5-4-rc1)

steved.
> ---
>  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
>  
>
diff mbox series

Patch

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