mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-21 04:01:28 +00:00
Ensure ::exists() call can't throw (#1609)
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user