Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion siteupdate/cplusplus/siteupdate.cpp
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,6 +95,9 @@ int main(int argc, char *argv[])
// start a timer for including elapsed time reports in messages
ElapsedTime et;

timestamp = time(0);
cout << "Start: " << ctime(&timestamp);

// create ErrorList
ErrorList el;

Expand DownExpand Up@@ -938,7 +941,7 @@ int main(int argc, char *argv[])

// See if we have any errors that should be fatal to the site update process
if (el.error_list.size())
{ cout << "ABORTING due to " << el.error_list.size() + " errors:" << endl;
{ cout << "ABORTING due to " << el.error_list.size() << " errors:" << endl;
for (unsigned int i = 0; i < el.error_list.size(); i++)
cout << i+1 << ": " << el.error_list[i] << endl;
return 0;
Expand DownExpand Up@@ -1093,6 +1096,8 @@ int main(int argc, char *argv[])
if (args.errorcheck)
cout << "!!! DATA CHECK SUCCESSFUL !!!" << endl;

timestamp = time(0);
cout << "Finish: " << ctime(&timestamp);
cout << "Total run time: " << et.et() << endl;

}