pipefail doesn't work on NetBSD or FreeBSD
Gary E. Miller
gem at rellim.com
Thu Nov 29 23:15:02 UTC 2018
Yo Hal!
On Thu, 29 Nov 2018 13:55:42 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:
> > How about yoou just comment out line 12?
>
> It's necessary.
I know. I'm curious how much else will need fixing. If pipefail is
the only problem then I may have a solution.
> You added that code when converting things from bash to sh
Yes, it removed a bashism, and worked on some POSIX shells. Silly
me, I thought POSIX compliant actually meant something...
> The goal is to get the return status of the test. The problem is
> that it gets piped to tee so normal results see the return from tee
> rather than the test.
Yup. But is that the only problem left?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181129/eadb0aba/attachment.bin>
More information about the devel
mailing list