Browse Source

Update GearmanWorkerExecuteCommand.php

Damn Idiot Error in Logic ...
Denis Zunke 11 years ago
parent
commit
11d1713a42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Command/GearmanWorkerExecuteCommand.php

+ 1 - 1
Command/GearmanWorkerExecuteCommand.php

@@ -62,7 +62,7 @@ class GearmanWorkerExecuteCommand extends ContainerAwareCommand
         $worker = $input->getArgument('worker');
         $worker = $input->getArgument('worker');
         $workerStruct = $this->getContainer()->get('gearman')->getWorker($worker);
         $workerStruct = $this->getContainer()->get('gearman')->getWorker($worker);
 
 
-        if (!$input->getOption('no-description') || !$input->getOption('quiet')) {
+        if (!$input->getOption('no-description') && !$input->getOption('quiet')) {
             $this->getContainer()->get('gearman.describer')->describeWorker($output, $workerStruct, true);
             $this->getContainer()->get('gearman.describer')->describeWorker($output, $workerStruct, true);
         }
         }