kit/ForKit.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 98dd83338c8c5b6d3579562279d7e7b7dba153c0
Author: Ashod Nakashian <[email protected]>
Date: Sun Jul 2 22:09:12 2017 -0400
wsd: log jail removal
Change-Id: I1fef24d66bcab800dc1b4536da781ab8d344586e
Reviewed-on: https://gerrit.libreoffice.org/39463
Reviewed-by: Ashod Nakashian <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index ed3d2f2a..fa95321d 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -216,7 +216,7 @@ static void cleanupChildren()
const auto it = childJails.find(exitedChildPid);
if (it != childJails.end())
{
- LOG_INF("Child " << exitedChildPid << " has exited, removing its
jail '" << it->second << "'.");
+ LOG_INF("Child " << exitedChildPid << " has exited, will remove
its jail [" << it->second << "].");
jails.emplace_back(it->second);
childJails.erase(it);
}
@@ -229,6 +229,7 @@ static void cleanupChildren()
// Now delete the jails.
for (const auto& path : jails)
{
+ LOG_INF("Removing jail [" << path << "].");
FileUtil::removeFile(path, true);
}
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits