Ver Fonte

Update Worker.php

walkor há 10 anos atrás
pai
commit
abbf6fea2b
1 ficheiros alterados com 2 adições e 1 exclusões
  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')