parent
d8dbb890aa
commit
028da5c2e3
@ -59,7 +59,7 @@ pid_is_argv(pid_t pid, const char *const *argv)
|
||||
free(cmdline);
|
||||
return false;
|
||||
}
|
||||
bytes = read(fd, buffer, sizeof(buffer));
|
||||
bytes = read(fd, buffer, sizeof(buffer) - 1);
|
||||
close(fd);
|
||||
free(cmdline);
|
||||
if (bytes == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user