Skip to content

Commit

Permalink
Merge pull request #3 from acteam-ux/patch-1
Browse files Browse the repository at this point in the history
update kernel.c for Unknown command
  • Loading branch information
FRosner authored Jan 18, 2024
2 parents 65897c6 + 7ddcf65 commit 8dc7983
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions kernel/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ void execute_command(char *input) {
print_string("Stopping the CPU. Bye!\n");
asm volatile("hlt");
}
print_string("Unknown command: ");
print_string(input);
print_string("\n> ");
else if (compare_string(input, "") == 0) {
print_string("\n> ");
}
else {
print_string("Unknown command: ");
print_string(input);
print_string("\n> ");
}
}

0 comments on commit 8dc7983

Please sign in to comment.