Dont exit on "exit /?". Reported by bblaauw@home.nl

svn path=/trunk/; revision=18770
This commit is contained in:
Brandon Turner 2005-10-25 15:18:35 +00:00
parent 441ebe91cd
commit 9c0aa86aa7

View file

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