diff options
author | Marc Laukien <marc@zeroc.com> | 2003-12-04 17:56:55 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-12-04 17:56:55 +0000 |
commit | e54c2096d0b749fe9b46a233779837fdb759613c (patch) | |
tree | b1123ac86ecc159562e82971983a30e3adb8ddd5 /cpp/src/IcePack/ActivatorI.cpp | |
parent | minor fix to usage (diff) | |
download | ice-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.cpp | 3 |
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 |