mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user