diff --git a/src/jrd/svc.cpp b/src/jrd/svc.cpp index d6974b57f2..bd92f4f30f 100644 --- a/src/jrd/svc.cpp +++ b/src/jrd/svc.cpp @@ -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]);