mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
scheduler: close init node
This commit is contained in:
@@ -436,6 +436,8 @@ void sched_runinit(){
|
||||
printf("ELF load error: %s\n", strerror(ret));
|
||||
_panic("Could not load init", 0);
|
||||
}
|
||||
|
||||
vfs_close(node);
|
||||
|
||||
arch_regs_setupuser(thread->regs, entry, stack, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user