launch_daemon: Fix missing logic parentheses
* These are not superfluous on gcc4+ :-)
This commit is contained in:
committed by
Alexander von Gluck IV
parent
990a73c29a
commit
739e7bdb66
@@ -1011,7 +1011,7 @@ LaunchDaemon::_LaunchJobs(Target* target, bool forceNow)
|
|||||||
void
|
void
|
||||||
LaunchDaemon::_LaunchJob(Job* job, bool forceNow)
|
LaunchDaemon::_LaunchJob(Job* job, bool forceNow)
|
||||||
{
|
{
|
||||||
if (job == NULL || job->IsLaunched() || !forceNow
|
if ((job == NULL || job->IsLaunched() || !forceNow)
|
||||||
&& (!job->EventHasTriggered() || !job->CheckCondition(*this)
|
&& (!job->EventHasTriggered() || !job->CheckCondition(*this)
|
||||||
|| Events::TriggerDemand(job->Event()))) {
|
|| Events::TriggerDemand(job->Event()))) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user