mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +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
|
@ -683,7 +683,13 @@ INT cmd_rmdir (LPTSTR cmd, LPTSTR param)
|
||||||
INT CommandExit (LPTSTR cmd, LPTSTR param)
|
INT CommandExit (LPTSTR cmd, LPTSTR param)
|
||||||
{
|
{
|
||||||
if (!_tcsncmp (param, _T("/?"), 2))
|
if (!_tcsncmp (param, _T("/?"), 2))
|
||||||
|
{
|
||||||
ConOutResPaging(TRUE,STRING_EXIT_HELP);
|
ConOutResPaging(TRUE,STRING_EXIT_HELP);
|
||||||
|
/* Just make sure */
|
||||||
|
bExit = FALSE;
|
||||||
|
/* Dont exit */
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (bc != NULL && _tcsnicmp(param,_T("/b"),2) == 0)
|
if (bc != NULL && _tcsnicmp(param,_T("/b"),2) == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue