--- linuxsampler/trunk/src/linuxsampler.cpp 2007/08/16 15:55:21 1297 +++ linuxsampler/trunk/src/linuxsampler.cpp 2007/10/01 13:38:37 1364 @@ -291,7 +291,7 @@ if (res) { std::stringstream ss; - ss << "Fail to stat `" << optarg << "`: " << strerror(errno); + ss << "Failed to stat `" << optarg << "`: " << strerror(errno); throw Exception(ss.str()); } @@ -304,16 +304,17 @@ InstrumentsDb::GetInstrumentsDb()->SetDbFile(String(optarg)); } } catch(Exception e) { - std::cerr << e.Message() << std::endl << std::endl; - return; + std::cerr << "Could not open instruments DB file: " + << e.Message() << std::endl; + exit(EXIT_FAILURE); } - - return; + break; #else std::cerr << "LinuxSampler was not build with "; - std::cerr << "instruments database support." <