auxstats: do not postnote 0
This commit is contained in:
@@ -21,7 +21,8 @@ notifyf(void *v, char *msg)
|
||||
|
||||
if(strstr(msg, "child"))
|
||||
noted(NCONT);
|
||||
postnote(PNPROC, pid, msg);
|
||||
if(pid)
|
||||
postnote(PNPROC, pid, msg);
|
||||
exits(nil);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user