auxstats: do not postnote 0
This commit is contained in:
parent
1c845e0bd5
commit
fdcf3d70c2
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ notifyf(void *v, char *msg)
|
||||||
|
|
||||||
if(strstr(msg, "child"))
|
if(strstr(msg, "child"))
|
||||||
noted(NCONT);
|
noted(NCONT);
|
||||||
postnote(PNPROC, pid, msg);
|
if(pid)
|
||||||
|
postnote(PNPROC, pid, msg);
|
||||||
exits(nil);
|
exits(nil);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue