diff options
author | rsc <devnull@localhost> | 2006-02-14 19:43:54 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-02-14 19:43:54 +0000 |
commit | 7236e45bbc7a899c48c02b5c03d6f889893d9131 (patch) | |
tree | 5f2f892c2b269b0d13d8f3efa799844b20632391 /src/cmd/rc | |
parent | 5c9f76b5e5dc5c0537896b0e487b101dad38a746 (diff) | |
download | plan9port-7236e45bbc7a899c48c02b5c03d6f889893d9131.tar.gz plan9port-7236e45bbc7a899c48c02b5c03d6f889893d9131.tar.bz2 plan9port-7236e45bbc7a899c48c02b5c03d6f889893d9131.zip |
shut up about signals in scripts
Diffstat (limited to 'src/cmd/rc')
-rw-r--r-- | src/cmd/rc/plan9ish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/rc/plan9ish.c b/src/cmd/rc/plan9ish.c index efcbc99e..aeb93449 100644 --- a/src/cmd/rc/plan9ish.c +++ b/src/cmd/rc/plan9ish.c @@ -206,7 +206,7 @@ int Waitfor(int pid, int unused0){ free(w); return 0; } - if(strncmp(w->msg, "signal: ", 8) == 0) + if(runq->iflag && strncmp(w->msg, "signal: ", 8) == 0) fprint(2, "%d: %s\n", w->pid, w->msg); for(p=runq->ret;p;p=p->ret) if(p->pid==w->pid){ |