diff options
author | jilles <jilles@FreeBSD.org> | 2013-02-23 22:50:57 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-02-23 22:50:57 +0000 |
commit | 6d26f3b024394ea5908af3fa212793fa333a2fdf (patch) | |
tree | 96a8314009f5f8c2883aef886d308ca958d3405c /bin/sh/eval.c | |
parent | a615230e591865d556975a47a4dc7d5cefbf4ebd (diff) | |
download | FreeBSD-src-6d26f3b024394ea5908af3fa212793fa333a2fdf.zip FreeBSD-src-6d26f3b024394ea5908af3fa212793fa333a2fdf.tar.gz |
sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.
Diffstat (limited to 'bin/sh/eval.c')
-rw-r--r-- | bin/sh/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/eval.c b/bin/sh/eval.c index b40fffd..0972b10 100644 --- a/bin/sh/eval.c +++ b/bin/sh/eval.c @@ -301,7 +301,7 @@ evaltree(union node *n, int flags) } while (n != NULL); out: popstackmark(&smark); - if (pendingsigs) + if (pendingsig) dotrap(); if (eflag && exitstatus != 0 && do_etest) exitshell(exitstatus); |