diff --git a/converter/main.cc b/converter/main.cc index 88a6eb4..a18f867 100644 --- a/converter/main.cc +++ b/converter/main.cc @@ -7,6 +7,7 @@ int main( int argc, char *argv[] ){ if (argc <= 1){ std::cout << "Converter needs the level (1,2,...) as input." << std::endl; + exit(-1); } std::string levelString = argv[1]; Converter conv = Converter(levelString);