summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ActivatorI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-12-04 17:56:55 +0000
committerMarc Laukien <marc@zeroc.com>2003-12-04 17:56:55 +0000
commite54c2096d0b749fe9b46a233779837fdb759613c (patch)
treeb1123ac86ecc159562e82971983a30e3adb8ddd5 /cpp/src/IcePack/ActivatorI.cpp
parentminor fix to usage (diff)
downloadice-e54c2096d0b749fe9b46a233779837fdb759613c.tar.bz2
ice-e54c2096d0b749fe9b46a233779837fdb759613c.tar.xz
ice-e54c2096d0b749fe9b46a233779837fdb759613c.zip
fix
Diffstat (limited to 'cpp/src/IcePack/ActivatorI.cpp')
-rw-r--r--cpp/src/IcePack/ActivatorI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePack/ActivatorI.cpp b/cpp/src/IcePack/ActivatorI.cpp
index cbf990cfed7..531521fa138 100644
--- a/cpp/src/IcePack/ActivatorI.cpp
+++ b/cpp/src/IcePack/ActivatorI.cpp
@@ -211,9 +211,9 @@ IcePack::ActivatorI::activate(const ServerPtr& server)
ex.error = getSystemErrno();
throw ex;
}
+
if(pid == 0) // Child process.
{
-
#ifdef __linux
//
// Create a process group for this child, to be able to send
@@ -221,6 +221,7 @@ IcePack::ActivatorI::activate(const ServerPtr& server)
//
setpgrp();
#endif
+
//
// Close all file descriptors, except for standard input,
// standard output, standard error output, and the write side