summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Task.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Task.cc b/src/Task.cc
index 9a00f30..8e479c3 100644
--- a/src/Task.cc
+++ b/src/Task.cc
@@ -296,7 +296,7 @@ void Balau::Task::operationYield(Events::BaseEvent * evt, enum OperationYieldTyp
if (!evt)
return;
- if ((yieldType != SIMPLE) && t->m_okayToEAgain && !evt->gotSignal()) {
+ if ((yieldType != SIMPLE) && t->m_okayToEAgain && !gotSignal) {
Printer::elog(E_TASK, "operation is throwing an exception.");
throw EAgain(evt);
}