On 8/10/16 3:32 AM, dengke...@windriver.com wrote:
> Hi all
> 
> When I run the bash test lastpipe.tests, there were some errors occurred.
> 
> The code in lastpipe.tests:
> 
>     shopt -s lastpipe
>     ...
>     exit 142 | false
>     echo $? -- ${PIPESTATUS[@]}
> 
> The error output:
> 
>     lastpipe.tests: line 41:   708 Exit 142                exit 142
>     703 Hangup                  | false
>     129 -- 142 129

I can't reproduce this.  It looks system-specific; there shouldn't be
anything sending a SIGHUP to a simple command there.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to