commit 7236e45bbc7a899c48c02b5c03d6f889893d9131 from: rsc date: Tue Feb 14 19:43:54 2006 UTC shut up about signals in scripts commit - 5c9f76b5e5dc5c0537896b0e487b101dad38a746 commit + 7236e45bbc7a899c48c02b5c03d6f889893d9131 blob - efcbc99e9240adf339238feb06d3a14efaba7033 blob + aeb9344994a7d59a85b831e2fb994da7c3358db9 --- src/cmd/rc/plan9ish.c +++ 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){