Explorar el Código

Update Worker.php

walkor hace 10 años
padre
commit
abbf6fea2b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Worker.php

+ 2 - 1
Worker.php

@@ -486,7 +486,8 @@ class Worker
         {
             if($command === 'start')
             {
-                self::log("Workerman[$start_file] is running");
+                self::log("Workerman[$start_file] already running");
+                exit;
             }
         }
         elseif($command !== 'start' && $command !== 'restart')