URI: 
       tauxstats: do not postnote 0 - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit fdcf3d70c24886dddb5fd7052dfada67d33d5c75
   DIR parent 1c845e0bd5ff897dc5e90f2c24db4ecd81a8f60c
  HTML Author: Russ Cox <rsc@swtch.com>
       Date:   Thu, 14 Jan 2021 09:58:44 -0500
       
       auxstats: do not postnote 0
       
       Diffstat:
         M src/cmd/auxstats/main.c             |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/src/cmd/auxstats/main.c b/src/cmd/auxstats/main.c
       t@@ -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);
        }