From b8a6a01a11a54aa59ba73127d5aaccb7c8707538 Mon Sep 17 00:00:00 2001 From: gereon Date: Sun, 23 Dec 2012 14:54:12 +0100 Subject: [PATCH] fixed settings handling: stop on unrecoverable error --- src/mrmc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mrmc.cpp b/src/mrmc.cpp index 4a30f12c3..16f4cf9f4 100644 --- a/src/mrmc.cpp +++ b/src/mrmc.cpp @@ -100,7 +100,7 @@ bool parseOptions(const int argc, const char* argv[]) { std::cout << "Could not recover from settings error: " << e.what() << "." << std::endl; std::cout << std::endl << mrmc::settings::help; delete s; - return 1; + return false; } if (s->isSet("help")) {