diff options
Diffstat (limited to 'tools/mhmake/src/curdir.cpp')
-rw-r--r-- | tools/mhmake/src/curdir.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/mhmake/src/curdir.cpp b/tools/mhmake/src/curdir.cpp index 68cf505e7..64389c993 100644 --- a/tools/mhmake/src/curdir.cpp +++ b/tools/mhmake/src/curdir.cpp @@ -52,8 +52,7 @@ void curdir::ChangeCurDir(const refptr<fileinfo>&NewDir) #endif
if (-1==chdir(NewDir->GetFullFileName().c_str()))
{
- cerr<<"Error changing to directory "<<NewDir->GetQuotedFullFileName()<<endl;
- throw(1);
+ throw string("Error changing to directory ") + NewDir->GetQuotedFullFileName();
}
m_pCurrentDir=NewDir;
}
|