summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
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);