[Libreoffice-commits] online.git: kit/ForKit.cpp
Henry Castro
hcastro at collabora.com
Sat Dec 17 11:57:23 UTC 2016
kit/ForKit.cpp | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 38549b0c9b3926ce3e560bede3987723005422d0
Author: Henry Castro <hcastro at collabora.com>
Date: Sat Dec 17 07:56:03 2016 -0400
kit: debug, wait until unique kit die
Very useful to debug preinit stage when it is
ensured 1 kit process
diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index 60595b1..cda0303 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -443,6 +443,11 @@ int main(int argc, char** argv)
int returnValue = Application::EXIT_OK;
UnitKit::get().returnValue(returnValue);
+#if 0
+ int status = 0;
+ waitpid(forKitPid, &status, WUNTRACED);
+#endif
+
LOG_INF("ForKit process finished.");
std::_Exit(returnValue);
}
More information about the Libreoffice-commits
mailing list