Change CommandObjectTargetModulesAdd to set the return status
object on successful adding of a module.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136744 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectTarget.cpp b/source/Commands/CommandObjectTarget.cpp
index 5820c39..0713cd5 100644
--- a/source/Commands/CommandObjectTarget.cpp
+++ b/source/Commands/CommandObjectTarget.cpp
@@ -2174,6 +2174,7 @@
                                 result.SetStatus (eReturnStatusFailed);
                                 return false;
                             }
+                            result.SetStatus (eReturnStatusSuccessFinishResult);
                         }
                         else
                         {