From 5df5c1bf701a5fe3d9d2edef3580a457924dd0cc Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Wed, 21 Jan 2015 16:36:30 +0100 Subject: [PATCH] Rephrase 2 lines so they conform with the style --- icinga-app/icinga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 2389a2263..dd99800e1 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -273,13 +273,13 @@ int Main(void) catch (win32_error &ex) { if (int const * err = boost::get_error_info(ex)) { Log(LogCritical, "icinga-app", "Could not load library \"" + libraryName + "\""); - exit(EXIT_FAILURE); + return EXIT_FAILURE; } } #else /*_WIN32*/ catch (std::runtime_error &ex) { Log(LogCritical, "icinga-app", "Could not load library \"" + libraryName + "\""); - exit(EXIT_FAILURE); + return EXIT_FAILURE; } #endif /*_WIN32*/ } -- 2.40.0