diff options
author | Bryan Drewery <bryan@shatow.net> | 2015-06-06 23:44:53 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2015-06-06 23:44:58 +0300 |
commit | 11f349c9e844c02743dcd0c17471804a2e8eb621 (patch) | |
tree | c348cb8ef3861d552f6f4f12e504920a631de8e0 /external | |
parent | 69b5c1c9891c3805bda68b630d88ecacc49ec426 (diff) |
Update sh to FreeBSD r281982
Diffstat (limited to 'external')
-rw-r--r-- | external/sh/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/sh/jobs.c b/external/sh/jobs.c index fa796fad..1a130fc8 100644 --- a/external/sh/jobs.c +++ b/external/sh/jobs.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95"; #endif #endif /* not lint */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/bin/sh/jobs.c 279508 2015-03-01 22:32:23Z jilles $"); +__FBSDID("$FreeBSD: head/bin/sh/jobs.c 281982 2015-04-25 13:34:25Z jilles $"); #include <sys/ioctl.h> #include <sys/param.h> @@ -1057,7 +1057,7 @@ waitforjob(struct job *jp, int *origstatus) CLEAR_PENDING_INT; } #if JOBS - else if (rootshell && iflag && propagate_int && + else if (rootshell && propagate_int && WIFSIGNALED(status) && WTERMSIG(status) == SIGINT) kill(getpid(), SIGINT); #endif |