branch2.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-01-31 22:04:20 -06:00
parent 5ec9bf26a2
commit 88c89af88a

View File

@ -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()