diff options
-rw-r--r-- | extpipe.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extpipe.cpp b/extpipe.cpp index eb057d1..640dece 100644 --- a/extpipe.cpp +++ b/extpipe.cpp @@ -122,6 +122,11 @@ int cExtPipe::Close(int &status) LOG_ERROR; break; } + else if (errno == ECHILD) + { + ret = pid; + break; + } } else if (ret == pid) break; |