diff --git a/libprocessgroup/task_profiles.cpp b/libprocessgroup/task_profiles.cpp index db00a4981..cf74e6557 100644 --- a/libprocessgroup/task_profiles.cpp +++ b/libprocessgroup/task_profiles.cpp @@ -308,9 +308,7 @@ bool ApplyProfileAction::ExecuteForProcess(uid_t uid, pid_t pid) const { bool ApplyProfileAction::ExecuteForTask(int tid) const { for (const auto& profile : profiles_) { - if (!profile->ExecuteForTask(tid)) { - PLOG(WARNING) << "ExecuteForTask failed for aggregate profile"; - } + profile->ExecuteForTask(tid); } return true; }