aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/mhmake/src/util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp
index 46f9b9edb..43104adea 100644
--- a/tools/mhmake/src/util.cpp
+++ b/tools/mhmake/src/util.cpp
@@ -758,7 +758,10 @@ bool MakeDirs(const fileinfo *pDir)
if (!pDir->GetDate().DoesExist())
{ /* Create directory */
if (-1==mkdir(pDir->GetFullFileName().c_str(),S_IRWXU))
+ {
+ cerr << "mkdir function failed for directory " << QuoteFileName(pDir->GetFullFileName()) << endl;
return false;
+ }
}
return true;
}