Unrecognized command

This commit is contained in:
Kevin Lange 2013-11-27 22:47:05 -08:00
parent 283ac3c824
commit 2978d31461

View File

@ -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);