mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
6176d3bc8c
commit
bcf4c46079
@ -298,7 +298,7 @@ int Main(void)
|
||||
String appName;
|
||||
|
||||
try {
|
||||
Utility::BaseName(Application::GetArgV()[0]);
|
||||
appName = Utility::BaseName(Application::GetArgV()[0]);
|
||||
} catch (const std::bad_alloc&) {
|
||||
Log(LogCritical, "icinga-app", "Allocation failed.");
|
||||
return EXIT_FAILURE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user