shell: return exit code for admin shell
This commit is contained in:
parent
1503c6f0ed
commit
1e9a5b3fe4
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ int main(void)
|
|||
|
||||
shell_init(&user_shell, user_cmds, user_con, "tbm $",
|
||||
SHELL_SHOW_EXIT_CODE);
|
||||
shell_init(&admin_shell, admin_cmds, admin_con, "tbm #", 0);
|
||||
shell_init(&admin_shell, admin_cmds, admin_con, "tbm #",
|
||||
SHELL_SHOW_EXIT_CODE);
|
||||
|
||||
while (1) {
|
||||
shell_parse(&user_shell);
|
||||
|
|
Loading…
Add table
Reference in a new issue