aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2013-04-22 22:28:41 +0200
committerMelanie2013-04-22 22:28:41 +0200
commit671a97ef76f681503b7e2024c6037cb5814e245c (patch)
tree4d88ad2405f84ffbb3c9226f4c1ccff07b323766 /OpenSim/Framework
parentMerge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff)
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC-671a97ef76f681503b7e2024c6037cb5814e245c.zip
opensim-SC-671a97ef76f681503b7e2024c6037cb5814e245c.tar.gz
opensim-SC-671a97ef76f681503b7e2024c6037cb5814e245c.tar.bz2
opensim-SC-671a97ef76f681503b7e2024c6037cb5814e245c.tar.xz
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/ServerBase.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/ServerBase.cs b/OpenSim/Framework/Servers/ServerBase.cs
index 1ff8aca..b9e3c18 100644
--- a/OpenSim/Framework/Servers/ServerBase.cs
+++ b/OpenSim/Framework/Servers/ServerBase.cs
@@ -76,6 +76,11 @@ namespace OpenSim.Framework.Servers
76 76
77 protected void CreatePIDFile(string path) 77 protected void CreatePIDFile(string path)
78 { 78 {
79 if (File.Exists(path))
80 m_log.ErrorFormat(
81 "[SERVER BASE]: Previous pid file {0} still exists on startup. Possibly previously unclean shutdown.",
82 path);
83
79 try 84 try
80 { 85 {
81 string pidstring = System.Diagnostics.Process.GetCurrentProcess().Id.ToString(); 86 string pidstring = System.Diagnostics.Process.GetCurrentProcess().Id.ToString();