retitle 318117 bash: prints Terminated for jobs killed by signal when 
noninteractive
tags 318117 + upstream
severity 318117 wishlist
found 318117 bash/4.1-3
# [1]
forwarded 318117 
http://thread.gmane.org/gmane.comp.shells.bash.bugs/13711/focus=13741
quit

Tim Connors wrote:

> > cat bin/sig-test
> #!/bin/sh
> 
> 
> while echo loop ; do
>    sleep 5
> done
> 
> shell1> sig-test
> sheel2> killall sleep
> loop
> bin/sig-test: line 6: 19448 Terminated              sleep 5
> loop
> bin/sig-test: line 6: 19458 Terminated              sleep 5
> loop

Yes.  Even "set +m" does not suppress this.  Upstream does not seem
inclined to change that; see [1] for some discussion and a workaround.

I would be happy to have a patch fixing this, especially if you are
willing to maintain it in the long term.  That said, I am not the bash
maintainer, so this is not meant to say anything about chance of such
a patch being applied.  Thanks for a clear report.

Jonathan



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to