mirror of https://github.com/xzeldon/htop.git
Merge branch 'hishamhm-pull-917'
This commit is contained in:
commit
74d547674d
|
@ -124,6 +124,7 @@ static OpenFiles_ProcessData* OpenFilesScreen_getProcessData(pid_t pid) {
|
||||||
item->data[cmd] = xStrdup(line + 1);
|
item->data[cmd] = xStrdup(line + 1);
|
||||||
free(line);
|
free(line);
|
||||||
}
|
}
|
||||||
|
fclose(fd);
|
||||||
int wstatus;
|
int wstatus;
|
||||||
if (waitpid(child, &wstatus, 0) == -1) {
|
if (waitpid(child, &wstatus, 0) == -1) {
|
||||||
pdata->error = 1;
|
pdata->error = 1;
|
||||||
|
|
Loading…
Reference in New Issue