mirror of
https://codeberg.org/wownero/p2pool-wow.git
synced 2026-10-17 05:51:27 +02:00
Update block_cache.cpp
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ struct BlockCache::Impl
|
||||
|
||||
Impl()
|
||||
{
|
||||
m_fd = open(cache_name, O_RDWR | O_CREAT);
|
||||
m_fd = open(cache_name, O_RDWR | O_CREAT, static_cast<mode_t>(0600));
|
||||
if (m_fd == -1) {
|
||||
LOGERR(1, "couldn't open/create " << cache_name);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user