Browse Source

Update Worker.php

walkor 10 năm trước cách đây
mục cha
commit
abbf6fea2b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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')