[Libreoffice-commits] online.git: 2 commits - loolwsd/LOOLForKit.cpp
Tor Lillqvist
tml at collabora.com
Wed Oct 12 12:16:19 UTC 2016
loolwsd/LOOLForKit.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit d658a35c039b7b231594bd72c85a9dd8bc81ae42
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Oct 12 15:15:39 2016 +0300
Fix copy-paste error
diff --git a/loolwsd/LOOLForKit.cpp b/loolwsd/LOOLForKit.cpp
index 1ee1998..2122444 100644
--- a/loolwsd/LOOLForKit.cpp
+++ b/loolwsd/LOOLForKit.cpp
@@ -172,7 +172,7 @@ static bool haveCorrectCapabilities()
result = false;
if (!haveCapability(CAP_MKNOD))
result = false;
- if (!haveCapability(CAP_SYS_CHROOT))
+ if (!haveCapability(CAP_FOWNER))
result = false;
return result;
commit 7872c5f0837bd204add78615c358186cea7f7726
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Oct 12 15:13:26 2016 +0300
I mean loolforkit, not loolkit
diff --git a/loolwsd/LOOLForKit.cpp b/loolwsd/LOOLForKit.cpp
index fa03aaa..1ee1998 100644
--- a/loolwsd/LOOLForKit.cpp
+++ b/loolwsd/LOOLForKit.cpp
@@ -140,12 +140,12 @@ static bool haveCapability(cap_value_t capability)
{
if (cap_name)
{
- Log::error("Capability " + std::string(cap_name) + " is not set for the loolkit program.");
+ Log::error("Capability " + std::string(cap_name) + " is not set for the loolforkit program.");
cap_free(cap_name);
}
else
{
- Log::error("Capability " + std::to_string(capability) + " is not set for the loolkit program.");
+ Log::error("Capability " + std::to_string(capability) + " is not set for the loolforkit program.");
}
return false;
}
More information about the Libreoffice-commits
mailing list