mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
parent
372be299b4
commit
2475591fb5
@ -126,9 +126,7 @@ INT parseArguments(INT ac, WCHAR **av, po::variables_map& vm, printInfoStruct& p
|
||||
|
||||
printInfo.service = vm["service"].as<std::wstring>();
|
||||
|
||||
if (vm.count("warn")) {
|
||||
printInfo.warn = true;
|
||||
}
|
||||
printInfo.warn = vm.count("warn");
|
||||
|
||||
if (vm.count("D"))
|
||||
debug = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user