-Fix: Config exe does check for wrong parameters but does not terminate on wrong parameters.
This commit is contained in:
1 parent
d0c41ff1fb
commit
51446fa5c4
1 file changed
+2
-1
@@ -16,7 +16,8 @@ namespace WebserverInitalConfig
|
||||
{
|
||||
if (args.Length != 2)
|
||||
{
|
||||
Console.WriteLine("Usage: WebserverInitalConfig port isHttps");
|
||||
Console.WriteLine("Usage: VocaluxeServerConfig port isHttps");
|
||||
Environment.Exit(-1);
|
||||
}
|
||||
|
||||
ConfigHttpApi.addFirewallrule(Path.Combine(AppDomain.CurrentDomain.BaseDirectory,"Vocaluxe.exe"), Int32.Parse(args[0]), true);
|
||||
|
||||
Reference in new issue
Block a user