diff options
author | Marc Laukien <marc@zeroc.com> | 2004-02-17 22:50:14 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-02-17 22:50:14 +0000 |
commit | dce60bb972b0c21106249ae70487078109e2c1df (patch) | |
tree | 2ac342a7cd0598a36fa282b1684f7c13367cf8ac /cpp/src/IcePack/ActivatorI.cpp | |
parent | fix (diff) | |
download | ice-dce60bb972b0c21106249ae70487078109e2c1df.tar.bz2 ice-dce60bb972b0c21106249ae70487078109e2c1df.tar.xz ice-dce60bb972b0c21106249ae70487078109e2c1df.zip |
fixes
Diffstat (limited to 'cpp/src/IcePack/ActivatorI.cpp')
-rw-r--r-- | cpp/src/IcePack/ActivatorI.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/src/IcePack/ActivatorI.cpp b/cpp/src/IcePack/ActivatorI.cpp index 11d0d09c874..67677bf1f3e 100644 --- a/cpp/src/IcePack/ActivatorI.cpp +++ b/cpp/src/IcePack/ActivatorI.cpp @@ -66,8 +66,8 @@ void reportChildError(int err, int fd, const char* cannot, const char* name) { // - // Send any errors to the parent process, using the write - // end of the pipe. + // Send any errors to the parent process, using the write end of + // the pipe. // char msg[500]; strcpy(msg, cannot); @@ -77,6 +77,11 @@ reportChildError(int err, int fd, const char* cannot, const char* name) strcat(msg, strerror(err)); write(fd, msg, strlen(msg)); close(fd); + + // + // _exit instead of exit to avoid interferences with the parent + // process. + // _exit(EXIT_FAILURE); } |