s = supervised_of_pid((pid_t)p);
if (!s) {
afb_req_reply(req, NULL, "unknown-pid", NULL);
return;
}
json_object_object_del(args, "pid");
s = supervised_of_pid((pid_t)p);
if (!s) {
afb_req_reply(req, NULL, "unknown-pid", NULL);
return;
}
json_object_object_del(args, "pid");