[Cherokee-commits] rev 1061 - cherokee/trunk/admin
cherokee at cherokee-project.com
cherokee at cherokee-project.com
Thu Feb 14 21:42:17 CET 2008
Author: alo
Date: 2008-02-14 21:42:16 +0100 (Thu, 14 Feb 2008)
New Revision: 1061
Log:
Get the changeset with:
svn diff -r 1060:1061 svn://svn.cherokee-project.com/
Modified:
cherokee/trunk/admin/CherokeeManagement.py
3 ++-
Modified: cherokee/trunk/admin/CherokeeManagement.py
===================================================================
--- cherokee/trunk/admin/CherokeeManagement.py 2008-02-14 17:07:10 UTC (rev 1060)
+++ cherokee/trunk/admin/CherokeeManagement.py 2008-02-14 20:42:16 UTC (rev 1061)
@@ -79,6 +79,8 @@
pid_cfg = self._cfg["server!pid_file"]
if pid_cfg:
pid_file = pid_cfg.value
+ if not os.access (pid_file, os.R_OK):
+ pid_file = None
# If there wasn't an entry..
if not pid_file:
@@ -88,7 +90,6 @@
break
if not pid_file:
- print ("Couldn't find a suitable PID file")
return
try:
More information about the Cherokee-commits
mailing list