diff options
author | Melanie | 2013-04-22 22:28:41 +0200 |
---|---|---|
committer | Melanie | 2013-04-22 22:28:41 +0200 |
commit | 671a97ef76f681503b7e2024c6037cb5814e245c (patch) | |
tree | 4d88ad2405f84ffbb3c9226f4c1ccff07b323766 /OpenSim/Framework | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-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.cs | 5 |
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(); |