Skip to content

Commit

Permalink
added "any key"
Browse files Browse the repository at this point in the history
  • Loading branch information
il-marc committed Feb 12, 2017
1 parent 5af84ba commit 751bc3a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ static void Main( string[] args ) {
Console.Title = "Confirmator " + version;

if (args.Length < 1) {
Console.Error.WriteLine( "No file name was given!" );
Console.Error.WriteLine( "No file name was given! Press any key to continue..." );
Console.ReadKey();
return;
}
string maFile = args[0];
if ( !File.Exists( maFile ) ) {
Console.Error.WriteLine("File not found!");
Console.Error.WriteLine( "File not found! Press any key to continue..." );
Console.ReadKey();
return;
}
byte acceptTargets = ACCEPT_NONE;
Expand Down

0 comments on commit 751bc3a

Please sign in to comment.