summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 6332976a875..b5693b18b8e 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -300,6 +300,7 @@ public:
{
strm.PutCString ("No targets.\n");
}
+ result.SetStatus (eReturnStatusSuccessFinishResult);
}
else
{
@@ -355,6 +356,7 @@ public:
target_list.SetSelectedTarget (target_sp.get());
bool show_stopped_process_status = false;
DumpTargetList (target_list, show_stopped_process_status, strm);
+ result.SetStatus (eReturnStatusSuccessFinishResult);
}
else
{
OpenPOWER on IntegriCloud