summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-26 19:06:52 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-26 19:06:52 (GMT)
commit41445f67aca14217f5e786b25ed5665b26d45ca8 (patch)
tree79a6e937f774a1bd2670430a3b14c0b2b58515d4 /Source/cmakemain.cxx
parentc59cc5a542ca78cba2983d91b588ae1f7ee490dd (diff)
downloadCMake-41445f67aca14217f5e786b25ed5665b26d45ca8.zip
CMake-41445f67aca14217f5e786b25ed5665b26d45ca8.tar.gz
CMake-41445f67aca14217f5e786b25ed5665b26d45ca8.tar.bz2
BUG: Fixed crash of cmake -i when CMAKE_ROOT cannot be found. Made resulting error message cleaner.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 7a19d09..5833dd1 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -196,8 +196,7 @@ int do_cmake(int ac, char** av)
if (wiz)
{
cmakewizard wizard;
- wizard.RunWizard(args);
- return 0;
+ return wizard.RunWizard(args);
}
cmake cm;
cm.SetProgressCallback(updateProgress, 0);