walkor před 4 roky
rodič
revize
c202bbe441
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -908,7 +908,7 @@ class Worker
         static::log("Workerman[$start_file] $command $mode_str");
 
         // Get master process PID.
-        $master_pid      = \is_file(static::$pidFile) ? (int)\file_get_contents(static::$pidFile) : 0)
+        $master_pid      = \is_file(static::$pidFile) ? (int)\file_get_contents(static::$pidFile) : 0;
         // Master is still alive?
         if (static::checkMasterIsAlive($master_pid)) {
             if ($command === 'start') {