mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 12:03:02 +01:00
Don't call vfork recursively on MacOSX
This commit is contained in:
parent
9103630deb
commit
c182d673be
@ -2465,9 +2465,10 @@ static void service_fork(TEXT* service_path, Service* service)
|
||||
break;
|
||||
|
||||
case 0:
|
||||
#ifndef DARWIN
|
||||
if (vfork() > 0)
|
||||
_exit(FINI_OK);
|
||||
|
||||
#endif
|
||||
close(pair1[0]);
|
||||
close(pair2[1]);
|
||||
if (pair2[0] != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user