Re: Strange behaviour when sending SIGTERM to bash

2018-03-29 Thread Chet Ramey
On 3/28/18 12:52 PM, Martin Schulte wrote: > Hello, > > I'm running bash under Debian Stretch: > > $ echo $BASH_VERSION > 4.4.12(1)-release > $ trap > $ echo $$ > 1100 > $ kill 1100 > $ > > => Looks fine for me > > Then I do a > > kill 1100 > > from another session and the bash above termin

Strange behaviour when sending SIGTERM to bash

2018-03-28 Thread Martin Schulte
Hello, I'm running bash under Debian Stretch: $ echo $BASH_VERSION 4.4.12(1)-release $ trap $ echo $$ 1100 $ kill 1100 $ => Looks fine for me Then I do a kill 1100 from another session and the bash above terminates. => Looks wrong for me Greetings, Martin