Linux fix

This commit is contained in:
jonasstrandstedt
2014-10-21 21:44:29 +02:00
parent 0e52e759db
commit 490fbc4869
6 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -323,7 +323,8 @@ bool OpenSpaceEngine::create(int argc, char** argv,
if (!FileSys.directoryExists(token)) {
std::string p = absPath(token);
LDEBUG("Directory '" << p <<"' does not exsist, creating.");
FileSys.createDirectory(p, true);
if(FileSys.createDirectory(p, true))
LERROR("Directory '" << p <<"' could not be created");
}
}