Commit b25ac6b0 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Handle situation instead of assuming it would never happen,

as it was seen out in the field and tested here.
parent 649419ab
......@@ -477,7 +477,7 @@ void ProcessList_processEntries(ProcessList* this, char* dirname, int parent, fl
Process* prototype = this->prototype;
dir = opendir(dirname);
assert(dir != NULL);
if (!dir) return;
while ((entry = readdir(dir)) != NULL) {
char* name = entry->d_name;
int pid;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment