Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] systemd - zgrep -m1 gives me "gzip: stdout: Broken pipe" ?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 29 Nov 2017 17:37:10 +0100
  • Message-id: <ovmnnm$41m$1@saturn.local.net>
Bernhard Voelker wrote:

On 11/29/2017 03:57 PM, Per Jessen wrote:
So I ought to be able to get rid of that message by adding

trap /bin/true pipe

trap -- PIPE

or maybe change the systemd unit (man systemd.exec):

IgnoreSIGPIPE=
Takes a boolean argument. If true, causes SIGPIPE to be ignored
in the executed process. Defaults to true because SIGPIPE
generally is useful only in shell pipelines.


Thanks Berny,

I hadn't read that far in the man page :-)



--
Per Jessen, Zürich (2.4°C)
http://www.hostsuisse.com/ - dedicated server rental in Switzerland.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups