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

This commit is contained in:
Ashley Broughton 2016-09-03 17:53:56 +08:00 committed by Taloth
parent 4e051bfde2
commit 7c7cfc0b7d
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Console
System.Console.WriteLine(""); System.Console.WriteLine("");
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"); 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(); System.Console.ReadLine();
Environment.Exit(1); Environment.Exit(1);
} }
@ -33,7 +33,7 @@ namespace NzbDrone.Console
System.Console.WriteLine(""); System.Console.WriteLine("");
System.Console.WriteLine(""); System.Console.WriteLine("");
Logger.Fatal(e, "EPIC FAIL!"); Logger.Fatal(e, "EPIC FAIL!");
System.Console.WriteLine("Press any key to exit..."); System.Console.WriteLine("Press enter to exit...");
System.Console.ReadLine(); System.Console.ReadLine();
Environment.Exit(1); Environment.Exit(1);
} }