mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
branch2.cpp
This commit is contained in:
parent
5ec9bf26a2
commit
88c89af88a
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ Branch2::Branch2(toml::value const &v_)
|
|||
|
||||
int const flags = O_DIRECTORY | O_PATH | O_NOATIME;
|
||||
fd = openat(AT_FDCWD,path.string().c_str(),flags);
|
||||
if(fd < 0)
|
||||
enabled = false;
|
||||
}
|
||||
|
||||
Branch2::~Branch2()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue