Minor bugfix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4950 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-09-28 04:34:22 +00:00
parent 84702fabce
commit 4fa2ce8d78
2 changed files with 5 additions and 1 deletions

View file

@ -633,7 +633,7 @@ extern char *objc_find_executable(const char *name);
_taskId, result, strerror(errno));
[self _terminatedChild: -1];
}
else if (result == _taskId || (result == 0 && errno == 0))
else if (result == _taskId || (result > 0 && errno == 0))
{
if (WIFEXITED(_terminationStatus))
{