diff options
author | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-07-21 03:16:07 +0000 |
---|---|---|
committer | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-07-21 03:16:07 +0000 |
commit | 877188e5636738db262fdf55a9ed5d794ca7f5b8 (patch) | |
tree | 3c13f952d4dc6ad45ff4174cac94cc75731efc60 | |
parent | 1e0d803e1b6ba168874522bba11ccd7dfa7503c2 (diff) | |
download | mana-client-877188e5636738db262fdf55a9ed5d794ca7f5b8.tar.gz mana-client-877188e5636738db262fdf55a9ed5d794ca7f5b8.tar.bz2 mana-client-877188e5636738db262fdf55a9ed5d794ca7f5b8.tar.xz mana-client-877188e5636738db262fdf55a9ed5d794ca7f5b8.zip |
Fixed a problem with creating the updates directory
-rw-r--r-- | src/main.cpp | 2 |
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!"; |