Changed exit statement to "Press enter to exit..." to match use of ReadLine() (#1425)

pull/3113/head
Ashley Broughton 8 years ago committed by Taloth
parent 4e051bfde2
commit 7c7cfc0b7d

@ -24,7 +24,7 @@ namespace NzbDrone.Console
System.Console.WriteLine("");
System.Console.WriteLine("");
Logger.Fatal(exception.Message + ". This can happen if another instance of Sonarr is already running another application is using the same port (default: 8989) or the user has insufficient permissions");
System.Console.WriteLine("Press any key to exit...");
System.Console.WriteLine("Press enter to exit...");
System.Console.ReadLine();
Environment.Exit(1);
}
@ -33,7 +33,7 @@ namespace NzbDrone.Console
System.Console.WriteLine("");
System.Console.WriteLine("");
Logger.Fatal(e, "EPIC FAIL!");
System.Console.WriteLine("Press any key to exit...");
System.Console.WriteLine("Press enter to exit...");
System.Console.ReadLine();
Environment.Exit(1);
}

Loading…
Cancel
Save