loolwsd/LOOLForKit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit c8d5c279b9941bf39b396506ec984ba93b212d75 Author: Tor Lillqvist <t...@collabora.com> Date: Thu Oct 13 13:10:09 2016 +0300 Move comment diff --git a/loolwsd/LOOLForKit.cpp b/loolwsd/LOOLForKit.cpp index 2ee6306..a5f97a4 100644 --- a/loolwsd/LOOLForKit.cpp +++ b/loolwsd/LOOLForKit.cpp @@ -206,12 +206,13 @@ static int createLibreOfficeKit(const std::string& childRoot, Process::PID pid; if (!(pid = fork())) { + // Child + // Close the pipe from loolwsd close(0); UnitKit::get().postFork(); - // child if (std::getenv("SLEEPKITFORDEBUGGER")) { std::cerr << "Sleeping " << std::getenv("SLEEPKITFORDEBUGGER") _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits