Browse Source

workerman.log

walkor 9 years ago
parent
commit
afdfa4c207
1 changed files with 1 additions and 1 deletions
  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';