]> git.itanic.dy.fi Git - rrdd/blobdiff - built_in_parsers.c
process: Remove fork based concurrenct management
[rrdd] / built_in_parsers.c
index 8d7bdb15c1ca9760246e8bd83630b9b0318cac51..f86da28efa9317762b1c6cc904d318e60ad5fb88 100644 (file)
@@ -147,7 +147,7 @@ static int digitemp_parser(char *data, const char **p)
        /* Read whatever the process might be still printing out */
        while (fgets(buf, 1024, readf));
 
-       harvest_zombies(pid);
+       clear_zombie(pid);
        snprintf(data, RRD_DATA_MAX_LEN, "%.2f:%.2f", t3, t2);
        return 0;
 }
@@ -184,7 +184,7 @@ static int script_parser(char *rrd_data, const char **parser_data)
 err_read:
        fclose(readf);
 
-       harvest_zombies(pid);
+       clear_zombie(pid);
 
        return 0;
 }