Explorar el Código

workerman.log

walkor hace 9 años
padre
commit
afdfa4c207
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -598,7 +598,7 @@ class Worker
         // Start command.
         $mode = '';
         if ($command === 'start') {
-            if ($command2 === '-d') {
+            if ($command2 === '-d' || Worker::$daemonize) {
                 $mode = 'in DAEMON mode';
             } else {
                 $mode = 'in DEBUG mode';