scheduler: close init node

This commit is contained in:
Matheus
2022-09-19 22:51:55 -03:00
parent cd78bcff92
commit 511a5639cc
+2
View File
@@ -437,6 +437,8 @@ void sched_runinit(){
_panic("Could not load init", 0); _panic("Could not load init", 0);
} }
vfs_close(node);
arch_regs_setupuser(thread->regs, entry, stack, true); arch_regs_setupuser(thread->regs, entry, stack, true);
fd_release(stdinfd); fd_release(stdinfd);