fixed exit code to reflect completion/halting of plan

This commit is contained in:
Phanes
2017-12-05 01:13:23 -05:00
parent 109d227166
commit 50478d58ed

View File

@@ -43,11 +43,15 @@ int main( )
std::cout << "Ready to execute all tasks in Plan." << std::endl;
try {
try
{
plan.execute( verbose );
}
catch ( std::exception& e) {
catch ( std::exception& e)
{
std::cerr << e.what() << std::endl;
return 1;
}
return 0;