mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-30 12:33:49 +08:00
branch2.cpp
This commit is contained in:
parent
5ec9bf26a2
commit
88c89af88a
|
@ -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…
Reference in New Issue
Block a user