mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Kernel: Fix my result propagation bug @BenWiederhake spotted
In #3001 I was trying to fix result propagation issues, and I actually just introduced another one. Luckily Ben spotted it in the diff after it was in the tree, thanks Ben!
This commit is contained in:
parent
7ebba7bf3c
commit
fe64d97001
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ ssize_t FileDescription::get_dir_entries(u8* buffer, ssize_t size)
|
|||
});
|
||||
|
||||
if (result.is_error())
|
||||
result.error();
|
||||
return result;
|
||||
|
||||
stream.snip();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue