diff options
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 3 | ||||
-rw-r--r-- | Source/cmakewizard.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 6a73031..7aecdb1 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -393,7 +393,7 @@ int cmCTestUpdateHandler::ProcessHandler() std::string partialOutput; command = updateCommand + " update " + updateOptions + " " + extra_update_opts; - res = cmSystemTools::RunSingleCommand(command.c_str(), &partialOutput, + bool res1 = cmSystemTools::RunSingleCommand(command.c_str(), &partialOutput, &retVal, sourceDirectory, m_Verbose, 0 /*m_TimeOut*/); command = updateCommand + " status"; @@ -401,6 +401,7 @@ int cmCTestUpdateHandler::ProcessHandler() &retVal, sourceDirectory, m_Verbose, 0 /*m_TimeOut*/); goutput += partialOutput; + res = res && res1; } } if ( ofs ) diff --git a/Source/cmakewizard.h b/Source/cmakewizard.h index f3093dc..5dc7a92 100644 --- a/Source/cmakewizard.h +++ b/Source/cmakewizard.h @@ -22,6 +22,7 @@ class cmakewizard { public: cmakewizard(); + ~cmakewizard() {} /** * Prompt the user to see if they want to see advanced entries. */ |