Unrecognized command
This commit is contained in:
parent
283ac3c824
commit
2978d31461
@ -213,6 +213,8 @@ void debug_shell_run(void * data, char * name) {
|
|||||||
fs_printf(tty, "\n");
|
fs_printf(tty, "\n");
|
||||||
} else if (!strcmp(argv[0], "setuid")) {
|
} else if (!strcmp(argv[0], "setuid")) {
|
||||||
current_process->user = atoi(argv[1]);
|
current_process->user = atoi(argv[1]);
|
||||||
|
} else {
|
||||||
|
fs_printf(tty, "Unrecognized command: %s\n", argv[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(arg);
|
free(arg);
|
||||||
|
Loading…
Reference in New Issue
Block a user