diff --git a/Utilities/rFile.cpp b/Utilities/rFile.cpp index 04a3da0b25..2ce5fdcbfe 100644 --- a/Utilities/rFile.cpp +++ b/Utilities/rFile.cpp @@ -194,7 +194,7 @@ std::string rGetCwd() bool rMkdir(const std::string &dir) { - return mkdir(dir.c_str()); + return !mkdir(dir.c_str()); } bool rMkpath(const std::string& path)