mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
Patch by Michael Fritscher
Change error message displayed when trying to 'cd' to non-existent dir svn path=/trunk/; revision=7917
This commit is contained in:
parent
5c0e9ff60d
commit
b61bc104f2
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,8 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param)
|
|||
|
||||
if (!SetCurrentDirectory (dir))
|
||||
{
|
||||
ErrorMessage (GetLastError(), _T("CD"));
|
||||
//ErrorMessage (GetLastError(), _T("CD"));
|
||||
ConErrPrintf (_T("Dir \"%s\" doesn't seem to exist!"),dir);
|
||||
|
||||
/* throw away current directory */
|
||||
free (lpOldPath);
|
||||
|
|
Loading…
Reference in a new issue