>>> Dario García Díaz-Miguel <dgd...@gmv.com> schrieb am 29.09.2020 um 07:44 in Nachricht <da25ba83c777405c8fc6131d6c075...@gmv.com>: > Hello everyone, > > I couldn't find an answer or explanation about this error, so I hope > somebody could help me over here. > I use slapcat with head, grep and awk to retrieve some information and store
> it into a variable for a shell/bash script. > > Whenever I use slapcat, the output prompts the following error: > ‑ slapcat: error writing output. > > However, the information looked for is correctly retrieved. My guess is that it's a "broken pipe": Once the end of the pipe has the information needed, the process terminates while slapcat still tries to write to the pipe... > > What's the reason behind this message? Is there a way to address it or at > least, ignore it and hiding it? > I can't just redirect that output to /dev/null. > > Version: > Openldap2‑2.4.41‑18.43.1 > Suse 12 SP3 > > Thank you so much. > Kind Regards. > > > Dario Garcia > Díaz‑Miguel > GGCS‑SES Unit > GGCS SKMF Infrastructure Division > GMV > C\ de Isaac Newton, 11 > 28760, Tres Cantos, Madrid > España > +34 918 07 21 00 > +34 918 07 21 99 > www.gmv.com > > > > > > > > > > > > P Please consider the environment before printing this e‑mail.