vfs: make vfs_read_file_by_path return error on error

This commit is contained in:
2025-11-20 16:10:49 +03:00
parent c17c23ddd5
commit 0de9f026b6
+5 -1
View File
@@ -198,7 +198,11 @@ int vfs_read_file_by_path(const char* path, uint8_t** buffer)
l9660_status err;
follow_path(path, file, dir);
err = follow_path(path, file, dir);
if(err != L9660_OK)
{
return err;
}
debug_log("HEHE %s\n", path);