mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Rephrase 2 lines so they conform with the style
This commit is contained in:
parent
b0483490c8
commit
5df5c1bf70
@ -273,13 +273,13 @@ int Main(void)
|
|||||||
catch (win32_error &ex) {
|
catch (win32_error &ex) {
|
||||||
if (int const * err = boost::get_error_info<errinfo_win32_error>(ex)) {
|
if (int const * err = boost::get_error_info<errinfo_win32_error>(ex)) {
|
||||||
Log(LogCritical, "icinga-app", "Could not load library \"" + libraryName + "\"");
|
Log(LogCritical, "icinga-app", "Could not load library \"" + libraryName + "\"");
|
||||||
exit(EXIT_FAILURE);
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else /*_WIN32*/
|
#else /*_WIN32*/
|
||||||
catch (std::runtime_error &ex) {
|
catch (std::runtime_error &ex) {
|
||||||
Log(LogCritical, "icinga-app", "Could not load library \"" + libraryName + "\"");
|
Log(LogCritical, "icinga-app", "Could not load library \"" + libraryName + "\"");
|
||||||
exit(EXIT_FAILURE);
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
#endif /*_WIN32*/
|
#endif /*_WIN32*/
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user