loolwsd/LOOLWSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3ad641c7bd9a05cbb08b35cb3656adf59cd8b8b6 Author: Henry Castro <hcas...@collabora.com> Date: Tue Feb 16 17:04:21 2016 -0400 loolwsd: check if the pipe path exists diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp index 1f1480e..ef37ab5 100644 --- a/loolwsd/LOOLWSD.cpp +++ b/loolwsd/LOOLWSD.cpp @@ -934,7 +934,7 @@ int LOOLWSD::main(const std::vector<std::string>& /*args*/) } const Path pipePath = Path::forDirectory(ChildRoot + Path::separator() + FIFO_PATH); - if (!File(pipePath).createDirectory()) + if (!File(pipePath).exists() && !File(pipePath).createDirectory()) { Log::error("Error: Failed to create pipe directory [" + pipePath.toString() + "]."); return Application::EXIT_SOFTWARE; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits