4bc9e5c6ab
Some systems do not deliver SIGPIPE to shell pipeline writers when the downstream reader has exited. So, also check for errors from /bin/printf. I fixed this for OpenBSD 6.0 but I think it will also fix posh on Linux.