[Top][All Lists]

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

Re: [BUG] ERR trap triggered twice when using 'command'

From: Nick Chambers
Subject: Re: [BUG] ERR trap triggered twice when using 'command'
Date: Mon, 2 Apr 2018 14:35:28 +0000

On 4/1/18, 5:54 AM, "bug-bash on behalf of Martijn Dekker" <address@hidden on 
behalf of address@hidden> wrote:

    $ bash -c 'trap "echo WHOA" ERR; command false'
    Expected output: just one WHOA (as on *ksh, zsh)
    - M.
Please use the bashbug tool to submit the bug, so those that look at this can 
get some meaningful information about your environment (and at the very least, 
can know what version of bash you’re using).

reply via email to

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