mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Dont exit on "exit /?". Reported by bblaauw@home.nl
svn path=/trunk/; revision=18770
This commit is contained in:
parent
441ebe91cd
commit
9c0aa86aa7
1 changed files with 6 additions and 0 deletions
|
@ -683,7 +683,13 @@ INT cmd_rmdir (LPTSTR cmd, LPTSTR param)
|
|||
INT CommandExit (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
if (!_tcsncmp (param, _T("/?"), 2))
|
||||
{
|
||||
ConOutResPaging(TRUE,STRING_EXIT_HELP);
|
||||
/* Just make sure */
|
||||
bExit = FALSE;
|
||||
/* Dont exit */
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (bc != NULL && _tcsnicmp(param,_T("/b"),2) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue