8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 16:03:02 +01:00

Make the service api work on MacOS

This commit is contained in:
paulbeach 2008-01-16 11:04:58 +00:00
parent 5f8fd83114
commit c1ba673348

View File

@ -2506,7 +2506,7 @@ static void service_fork(TEXT* service_path, Service* service)
break;
case 0:
if (vfork() != 0)
if (vfork() > 0)
_exit(FINI_OK);
close(pair1[0]);