summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 3231e1edc08..a4ac782de02 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -5181,7 +5181,7 @@ Process::RunThreadPlan (ExecutionContext &exe_ctx,
// If the overall wait is forever, then we only need to set the one thread timeout:
if (timeout_usec == 0)
{
- if (option_one_thread_timeout == 0)
+ if (option_one_thread_timeout != 0)
one_thread_timeout.OffsetWithMicroSeconds(option_one_thread_timeout);
else
one_thread_timeout.OffsetWithMicroSeconds(default_one_thread_timeout_usec);
OpenPOWER on IntegriCloud