mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Maintainence: Experimental console fix for Debian
This commit is contained in:
@@ -108,9 +108,16 @@ namespace OpenSim.Framework.Console
|
||||
Log.Flush();
|
||||
if (!m_silent)
|
||||
{
|
||||
System.Console.ForegroundColor = color;
|
||||
System.Console.WriteLine(format, args);
|
||||
System.Console.ResetColor();
|
||||
try
|
||||
{
|
||||
System.Console.ForegroundColor = color;
|
||||
System.Console.WriteLine(format, args);
|
||||
System.Console.ResetColor();
|
||||
} // Because mono and old debian sucks.
|
||||
catch (System.ArgumentNullException)
|
||||
{
|
||||
System.Console.WriteLine(format, args);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user