BUG: Even if update fails it should produce valid XML

This commit is contained in:
Andy Cedilnik 2004-06-09 11:19:46 -04:00
parent 67c068428c
commit 699a6cfe38
1 changed files with 8 additions and 8 deletions

View File

@ -991,6 +991,7 @@ int cmCTest::UpdateDirectory()
} }
os << "\t</Author>" << std::endl; os << "\t</Author>" << std::endl;
} }
}
//std::cout << "End" << std::endl; //std::cout << "End" << std::endl;
std::string end_time = ::CurrentTime(); std::string end_time = ::CurrentTime();
@ -1001,7 +1002,6 @@ int cmCTest::UpdateDirectory()
{ {
ofs.close(); ofs.close();
} }
}
if (! res || retVal ) if (! res || retVal )
{ {