[PATCH] Suppress tr's stderr in the generate function
nicolai at dagestad.fr
Mon Dec 28 15:50:21 CET 2020
> One can set SIGPIPE to be ignored, this will be inherited by a child
> process during fork.
> If SIGPIPE is being ignored, then it looks very much like `tr` *will*
> output an error message, as then `fwrite` will fail and output an error
> judging by this code:
> My theory: Someone has set SIGPIPE to be ignored, for the process that
> spawns `pass` (and your test).
Seems like that was it, I recently switch terminal to foot and the problem is not present in my
previous terminal. The issue is not with pass then ¯\_(ツ)_/¯
Thanks for the help 👍
More information about the Password-Store