launch_daemon: Fix missing logic parentheses

* These are not superfluous on gcc4+ :-)
This commit is contained in:
Alexander von Gluck IV 2015-07-22 16:37:16 -05:00 committed by Alexander von Gluck IV
parent 990a73c29a
commit 739e7bdb66

View File

@ -1011,7 +1011,7 @@ LaunchDaemon::_LaunchJobs(Target* target, bool forceNow)
void
LaunchDaemon::_LaunchJob(Job* job, bool forceNow)
{
if (job == NULL || job->IsLaunched() || !forceNow
if ((job == NULL || job->IsLaunched() || !forceNow)
&& (!job->EventHasTriggered() || !job->CheckCondition(*this)
|| Events::TriggerDemand(job->Event()))) {
return;