Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2015-06-06 23:44:53 +0300
committerBryan Drewery <bryan@shatow.net>2015-06-06 23:44:58 +0300
commit11f349c9e844c02743dcd0c17471804a2e8eb621 (patch)
treec348cb8ef3861d552f6f4f12e504920a631de8e0 /external
parent69b5c1c9891c3805bda68b630d88ecacc49ec426 (diff)
Update sh to FreeBSD r281982
Diffstat (limited to 'external')
-rw-r--r--external/sh/jobs.c4
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