浏览代码

Update Worker.php

walkor 10 年之前
父节点
当前提交
abbf6fea2b
共有 1 个文件被更改,包括 2 次插入1 次删除
  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')