mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Check if we have arguments before processing them.
This commit is contained in:
@@ -66,7 +66,10 @@ namespace OpenGridServices.GridServer
|
||||
[STAThread]
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
if(args[0]=="-setuponly") setuponly=true;
|
||||
if (args.Length > 0)
|
||||
{
|
||||
if (args[0] == "-setuponly") setuponly = true;
|
||||
}
|
||||
Console.WriteLine("Starting...\n");
|
||||
|
||||
thegrid = new OpenGrid_Main();
|
||||
|
||||
Reference in New Issue
Block a user