shell: return exit code for admin shell

master
S.J.R. van Schaik 7 years ago
parent 1503c6f0ed
commit 1e9a5b3fe4
  1. 3
      source/main.c

@ -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…
Cancel
Save