Explorar o código

Update Worker.php

zqhong %!s(int64=7) %!d(string=hai) anos
pai
achega
46ede6d6d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -1836,7 +1836,7 @@ class Worker
     public static function checkErrors()
     {
         if (static::STATUS_SHUTDOWN != static::$_status) {
-            $error_msg = static::$_OS === 'linx' ? 'Worker['. posix_getpid() .'] process terminated' : 'Worker process terminated';
+            $error_msg = static::$_OS === 'linux' ? 'Worker['. posix_getpid() .'] process terminated' : 'Worker process terminated';
             $errors    = error_get_last();
             if ($errors && ($errors['type'] === E_ERROR ||
                     $errors['type'] === E_PARSE ||