diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-24 16:40:57 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-24 18:06:22 +0100 |
commit | de17042b3c3296e0605f73df771111c6af49ca61 (patch) | |
tree | 2c51c996226a434591b6bc61ff9ed0add078a0f8 /src/buildtool/file_system/file_system_manager.hpp | |
parent | c0e83255aad228704187175574fbc8806bb7b76e (diff) | |
download | justbuild-de17042b3c3296e0605f73df771111c6af49ca61.tar.gz |
FileSystemManager: Pass ReadDirectory error to caller
Diffstat (limited to 'src/buildtool/file_system/file_system_manager.hpp')
-rw-r--r-- | src/buildtool/file_system/file_system_manager.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildtool/file_system/file_system_manager.hpp b/src/buildtool/file_system/file_system_manager.hpp index 9a362474..81246dd5 100644 --- a/src/buildtool/file_system/file_system_manager.hpp +++ b/src/buildtool/file_system/file_system_manager.hpp @@ -533,7 +533,9 @@ class FileSystemManager { entry.path().string()); return false; } - read_entry(entry.path().filename(), *type); + if (not read_entry(entry.path().filename(), *type)) { + return false; + } } } catch (std::exception const& ex) { Logger::Log( |