From c8a3a49b87e14b640d22db394191e56b75a8c611 Mon Sep 17 00:00:00 2001 From: pjht Date: Sun, 25 Aug 2019 17:33:05 -0500 Subject: [PATCH] Forgot to change kernel exit code back to 0 --- kernel/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel.c b/kernel/kernel.c index 836f72a..f14bb25 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -106,7 +106,7 @@ void kmain(struct multiboot_boot_header_tag* hdr) { memcpy(initrd2,initrd,initrd_sz); initrd2=put_data(cr3,initrd2,initrd_sz); createTaskCr3Param((void*)header.entry,cr3,(uint32_t)initrd2,initrd_sz); - exit(1); + exit(0); for(;;) { yield(); }