diff options
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zenremotestore/builds/buildstorageoperations.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 697e388f8..1742903a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## - Improvement: Refactored cache batch fetch operations to not do complex execution in destructor of PutBatch and GetBatch classes +- Bugfix: Fixed warning due to calling std::filesystem::equivalent on a non-existing path ## 5.7.13 - Feature: Added `--append` option to `zen builds download` diff --git a/src/zenremotestore/builds/buildstorageoperations.cpp b/src/zenremotestore/builds/buildstorageoperations.cpp index 8dd85d439..e70467999 100644 --- a/src/zenremotestore/builds/buildstorageoperations.cpp +++ b/src/zenremotestore/builds/buildstorageoperations.cpp @@ -2711,7 +2711,7 @@ BuildsOperationUpdateFolder::FindScavengeSources() try { BuildsDownloadInfo Info = ReadDownloadedInfoFile(EntryPath); - if (!Info.LocalPath.empty()) + if (!Info.LocalPath.empty() || !IsDir(Info.LocalPath)) { if (!std::filesystem::equivalent(Info.LocalPath, m_Path)) { |