diff --git a/src/branch2.cpp b/src/branch2.cpp index 95f7d1a6..08403c4b 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -24,5 +24,5 @@ Branch2::Branch2(toml::value const &v_) path = toml::find(v_,"path"); int const flags = O_DIRECTORY | O_PATH; - fd = openat(AT_FDCWD,path.string().c_str(),O_DI + fd = openat(AT_FDCWD,path.string().c_str(),flags); }