mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: do not trigger debug break when mkdir fails with EEXIST
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
aa85d71adc
commit
4a5d9eeae7
@@ -43,6 +43,6 @@ std::vector<std::string> getFiles(const std::string &path) {
|
||||
|
||||
void createDirectory(const std::string &path) {
|
||||
[[maybe_unused]] auto status = _mkdir(path.c_str());
|
||||
DEBUG_BREAK_IF(status != 0);
|
||||
DEBUG_BREAK_IF(status != 0 && errno != EEXIST);
|
||||
}
|
||||
}; // namespace NEO::Directory
|
||||
|
||||
Reference in New Issue
Block a user