mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-12 03:16:07 +08:00
[fix] restrict sensitive information in release logs
This commit is contained in:
1 parent
67afb25c75
commit
6a8e79d4a9
19 files changed
+87
-91
No files matched your search
@@ -60,8 +60,7 @@ bool RestrictCachePermissions(const std::filesystem::path &path,
|
||||
close(fd);
|
||||
}
|
||||
if (error) {
|
||||
LOG_WARN("Cannot restrict credential cache permissions for {}: {}",
|
||||
path.string(),
|
||||
LOG_WARN("Cannot restrict credential cache permissions: {}",
|
||||
std::error_code(error, std::generic_category()).message());
|
||||
}
|
||||
return error == 0;
|
||||
|
||||
Reference in new issue
Block a user