Re: ERR trap fired in && compound inside a function

2017-12-16 Thread yury
Ah, pardon me, you're right. But I would expect $BASH_COMMAND inside the trap handler be 'f' in this case. 18:01, 16 �нежн� 2017, Chet Ramey : On 12/16/17 8:15 AM, Yury Kartynnik wrote:  Bash Version: 4.4  Patch Level: 12  Release Status:

ERR trap fired in && compound inside a function

2017-12-16 Thread Yury Kartynnik
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/home/kartynnik/.l