Merge branch 'hishamhm-pull-917'

This commit is contained in:
Nathan Scott 2020-08-19 18:15:18 +10:00
commit 74d547674d
1 changed files with 1 additions and 0 deletions

View File

@ -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;