Commit d6b9827b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

processSelf: abort only if NumProcess > 0

parent a6cd27a6
......@@ -131,7 +131,12 @@ int processSelf(void)
if ( Process[processID].threadID == thID ) break;
if ( processID == NumProcess )
Error(func, "Internal problem, process not found!");
{
if ( NumProcess > 0 )
Error(func, "Internal problem, process not found!");
else
processID = 0;
}
#endif
return (processID);
......
Supports Markdown
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