fixed task cleanup fd errors

This commit is contained in:
2026-02-14 23:31:45 -05:00
parent 403178c832
commit 6b9bed5047
3 changed files with 6 additions and 4 deletions

View File

@@ -339,7 +339,6 @@ end
-- Write
function vfs.write(fd, content)
kernel.log(tostring(fd).."|"..content)
local task = kernel.currentTask
local file = task.fd[fd]
if not file then error("EBADF") end