Explorar o código

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

upliu %!s(int64=11) %!d(string=hai) anos
pai
achega
a34d776656
Modificáronse 1 ficheiros con 1 adicións e 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");
         }
     }
 }