From f43972d665c95b2148636c86a5b648e719901101 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 12 May 2019 16:34:13 -0400 Subject: 10.12 --- zen/file_access.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zen/file_access.cpp') diff --git a/zen/file_access.cpp b/zen/file_access.cpp index 4536ec36..8ac9eb3b 100644 --- a/zen/file_access.cpp +++ b/zen/file_access.cpp @@ -453,7 +453,7 @@ void copySecurityContext(const Zstring& source, const Zstring& target, ProcSymli { security_context_t contextSource = nullptr; const int rv = procSl == ProcSymlink::FOLLOW ? - ::getfilecon(source.c_str(), &contextSource) : + ::getfilecon (source.c_str(), &contextSource) : ::lgetfilecon(source.c_str(), &contextSource); if (rv < 0) { @@ -715,3 +715,5 @@ FileCopyResult zen::copyNewFile(const Zstring& sourceFile, const Zstring& target return result; } + + -- cgit