Package: bash Version: 4.1-3 Severity: minor One cannot turn off this Terminated message, that shouldn't be on in this case.
Nothing up my sleeve: # su - nobody No directory, logging in with HOME=/ nobody@jidanni2:/$ cd /tmp nobody@jidanni2:/tmp$ cat t sleep 11& kill $! sleep 0 nobody@jidanni2:/tmp$ sh t t: line 3: 3027 Terminated sleep 11 nobody@jidanni2:/tmp$ echo $- himBH nobody@jidanni2:/tmp$ set +m #even though not inherited by scripts anyway, worth a try. nobody@jidanni2:/tmp$ sh t t: line 3: 3030 Terminated sleep 11 Of course I can eliminate the mysterious "sleep 0" I tacked on. That will fix it: nobody@jidanni2:/tmp$ sed 2q t > u nobody@jidanni2:/tmp$ sh u nobody@jidanni2:/tmp$ Now the script finishes fast enough so that there is no time to print the Terminated message. One could also exec 2> /dev/null. But all those are botch workarounds. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org