mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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…
Reference in a new issue