2021-03-08 12:05:35

by Kenneth D'souza

[permalink] [raw]
Subject: [PATCH] nfsdclnts: Ignore SIGPIPE signal

Fixes (RhBug: 1868828)

Signed-off-by: Kenneth D'souza <[email protected]>
---
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


2021-03-15 21:24:28

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] nfsdclnts: Ignore SIGPIPE signal



On 3/8/21 7:01 AM, Kenneth D'souza wrote:
> Fixes (RhBug: 1868828)
>
> Signed-off-by: Kenneth D'souza <[email protected]>
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
>
>