diff --git a/src/branches.cpp b/src/branches.cpp index d4d60bb6..ec634b90 100644 --- a/src/branches.cpp +++ b/src/branches.cpp @@ -203,7 +203,7 @@ namespace l { std::error_code ec; - if(!std::filesystem::exists(path)) + if(!std::filesystem::exists(path,ec)) { SysLog::notice("branch `{}` does not currently exist",path); }