bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug-report: debug trap messes up pipestatus if containing command su


From: Chet Ramey
Subject: Re: bug-report: debug trap messes up pipestatus if containing command substitution
Date: Tue, 28 May 2019 21:07:52 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 5/23/19 5:11 PM, Hengyang Zhao wrote:
> Awesome! Could you please cc the fix to this thread once it's done? Thank you!

It's in the devel branch. I've attached the relevant piece.

This is more confirmation that it was a mistake to apply the DEBUG trap to
simple commands in pipelines.


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

Attachment: pipeline-debug-trap.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]