Fix update return status

This commit is contained in:
Andy Cedilnik 2003-02-07 11:03:00 -05:00
parent bb3f5e7250
commit a5f5f63c27
1 changed files with 6 additions and 2 deletions

View File

@ -472,8 +472,12 @@ int cmCTest::UpdateDirectory()
<< "\t<BuildStamp>" << m_CurrentTag << "-Experimental</BuildStamp>\n"
<< "\t<StartDateTime>" << start_time << "</StartDateTime>\n"
<< "\t<UpdateCommand>" << command << "</UpdateCommand>\n"
<< "\t<UpdateReturnStatus>" << retVal
<< "</UpdateReturnStatus>" << std::endl;
<< "\t<UpdateReturnStatus>";
if ( retVal )
{
os << retVal;
}
os << "</UpdateReturnStatus>" << std::endl;
std::vector<cmStdString> lines;
cmSystemTools::Split(output.c_str(), lines);