Ver código fonte

Man\Core\Master::run() 不用传参数

liangl 11 anos atrás
pai
commit
f669df26e1
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      workerman/bin/workermand

+ 1 - 2
workerman/bin/workermand

@@ -100,8 +100,7 @@ if($user_info = posix_getpwuid(posix_getuid()))
 switch($cmd)
 {
     case 'start':
-        $worker_user = isset($argv[2]) ? $argv[2] : '';
-        Man\Core\Master::run($worker_user);
+        Man\Core\Master::run();
         break;
     case 'stop':
         $pid = @file_get_contents(WORKERMAN_PID_FILE);