sh: Pass along SIGINT from a child if job control is enabled, even when not
authorjilles <jilles@FreeBSD.org>
Sat, 25 Apr 2015 13:34:25 +0000 (13:34 +0000)
committerjilles <jilles@FreeBSD.org>
Sat, 25 Apr 2015 13:34:25 +0000 (13:34 +0000)
commitd038ee760f5dc1b1cfbfe87cb0722677dc43dc9a
treeb5f47c8a1199bb6db224ae31df350a6ac6bae994
parent09e002d8cf136fba3639fbfa1d9c683b55f700a1
sh: Pass along SIGINT from a child if job control is enabled, even when not
interactive.

I added the interactive check in r208881 to be safe, but in actual use
(scripts in set -m mode) passing along SIGINT seems best.

Discussed with: bdrewery
bin/sh/jobs.c