From adf05e682e6675f6eb0c77c488a6efaeff3525a0 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 23 Jan 2008 22:30:12 +0000 Subject: * One more try at specifically identifying Debian from the code. * There's 3 platform lines now. Would someone running debian and/or Fedora core please try this revision out and send me the three [PLATFORM] lines? --- OpenSim/Region/Environment/Scenes/Scene.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index f7e5d62..52d0822 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -282,6 +282,14 @@ namespace OpenSim.Region.Environment.Scenes m_statsReporter.OnSendStatsResult += SendSimStatsPackets; MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.Platform.ToString()); MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.ToString()); + try + { + MainLog.Instance.Verbose("PLATRORM", "TERM:" + System.Environment.GetEnvironmentVariable("TERM")); + } + catch (System.Exception) + { + MainLog.Instance.Verbose("PLATFORM", "No TERM Environment Variable"); + } } #endregion -- cgit v1.1