summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-07-21 03:16:07 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-07-21 03:16:07 +0000
commit877188e5636738db262fdf55a9ed5d794ca7f5b8 (patch)
tree3c13f952d4dc6ad45ff4174cac94cc75731efc60 /src/main.cpp
parent1e0d803e1b6ba168874522bba11ccd7dfa7503c2 (diff)
downloadmana-877188e5636738db262fdf55a9ed5d794ca7f5b8.tar.gz
mana-877188e5636738db262fdf55a9ed5d794ca7f5b8.tar.bz2
mana-877188e5636738db262fdf55a9ed5d794ca7f5b8.tar.xz
mana-877188e5636738db262fdf55a9ed5d794ca7f5b8.zip
Fixed a problem with creating the updates directory
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2b8a3882..d66350b9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -184,7 +184,7 @@ void setUpdatesDir()
// Verify that the updates directory exists. Create if necessary.
if (!resman->isDirectory("/" + updatesDir)) {
- if (resman->mkdir("/" + updatesDir)) {
+ if (!resman->mkdir("/" + updatesDir)) {
logger->log("Error: %s/%s can't be made, but doesn't exist!",
homeDir.c_str(), updatesDir.c_str());
errorMessage = "Error creating updates directory!";