144| loadStartModule return ENOENT

This commit is contained in:
Martin Baliet 2024-05-03 20:09:43 +02:00
parent 7b4e68d50e
commit c833802f9a

View File

@ -529,9 +529,8 @@ int RuntimeLinker::loadStartModule(std::filesystem::path const& path, size_t arg
auto ifFile = util::openFile(path);
if (!ifFile) {
LOG_CRIT(L"Couldn't open file %s", path.c_str());
return 0;
LOG_ERR(L"Couldn't open file %s", path.c_str());
return getErr(ErrCode::_ENOENT);
}
// Load Module