forked from Hyperion/HyperionOS
fixed task cleanup fd errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user