From 7129122fc3418ad68d7b9e4db07daa42a188866b Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 31 Jan 2024 21:38:19 -0600 Subject: [PATCH] branch2.cpp --- src/branch2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }