diff --git a/f8/app.cc b/f8/app.cc index 4b27ba5..625ac02 100644 --- a/f8/app.cc +++ b/f8/app.cc @@ -198,7 +198,7 @@ namespace f8 bool has_task = false; { queue_.Fetch(); - if (list_empty(queue_.GetWorkList())) { + if (!list_empty(queue_.GetWorkList())) { has_task = true; } }