From 877188e5636738db262fdf55a9ed5d794ca7f5b8 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Mon, 21 Jul 2008 03:16:07 +0000 Subject: Fixed a problem with creating the updates directory --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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!"; -- cgit v1.2.3-70-g09d2