Change CommandObjectTargetModulesAdd to set the return status

object on successful adding of a module.

llvm-svn: 136744
This commit is contained in:
Jason Molenda 2011-08-02 23:28:55 +00:00
parent d8b5fce230
commit 2f7af6a15a
1 changed files with 1 additions and 0 deletions

View File

@ -2174,6 +2174,7 @@ public:
result.SetStatus (eReturnStatusFailed);
return false;
}
result.SetStatus (eReturnStatusSuccessFinishResult);
}
else
{