diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-17 15:42:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-20 10:30:24 +0100 |
commit | bac3d6df3562c814e5892f63225b94e2fedd4684 (patch) | |
tree | 773afea1364e51c9bf5ee8cca9f4de12b3829e26 /cpukit/libmisc/shell/shell.c | |
parent | Ensure security of default user environment (diff) | |
download | rtems-bac3d6df3562c814e5892f63225b94e2fedd4684.tar.bz2 |
shell: Rename HALT to SHUTDOWN command
Use a normal command for shutdown via exit().
Diffstat (limited to 'cpukit/libmisc/shell/shell.c')
-rw-r--r-- | cpukit/libmisc/shell/shell.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c index 14edf52a29..9a5ffb55b4 100644 --- a/cpukit/libmisc/shell/shell.c +++ b/cpukit/libmisc/shell/shell.c @@ -891,9 +891,6 @@ bool rtems_shell_main_loop( if (!strcmp(cmds[cmd],"bye") || !strcmp(cmds[cmd],"exit")) { fprintf(stdout, "Shell exiting\n" ); break; - } else if (!strcmp(cmds[cmd],"shutdown")) { /* exit application */ - fprintf(stdout, "System shutting down at user request\n" ); - exit(0); } /* exec cmd section */ |