Explorar el Código

修改为更加准确的提示信息

upliu hace 11 años
padre
commit
a34d776656
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      workerman/Core/Lib/Checker.php

+ 1 - 1
workerman/Core/Lib/Checker.php

@@ -294,7 +294,7 @@ class Checker
         
         if(!is_writeable($pid_dir))
         {
-            exit("\n\033[31;40mYou should start the server as root\033[0m\n\n\033[31;40mWorkerman start failed\033[0m\n\n");
+            exit("\n\033[31;40m$pid_dir is not writeable, can't write pid file\033[0m\n\n\033[31;40mWorkerman start failed\033[0m\n\n");
         }
     }
 }