projects
/
icinga2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fddaf
)
Fix check_service not working with names
5728/head
author
Jean Flach
<jean-marcel.flach@icinga.com>
Tue, 7 Nov 2017 16:45:01 +0000
(17:45 +0100)
committer
Jean Flach
<jean-marcel.flach@icinga.com>
Tue, 7 Nov 2017 16:47:35 +0000
(17:47 +0100)
This change fixes check_service not working correctly when using
descriptions instead of names.
This should probably be in 2.8.0
plugins/check_service.cpp
patch
|
blob
|
history
diff --git
a/plugins/check_service.cpp
b/plugins/check_service.cpp
index a052881c694f5a5aa128114df4fbad9e823982f8..f5f0f463b46ec5676f6bedc7a7b94cdf085a966f 100644
(file)
--- a/
plugins/check_service.cpp
+++ b/
plugins/check_service.cpp
@@
-38,7
+38,7
@@
INT wmain(INT argc, WCHAR **argv)
if (ret != -1)
return ret;
- if (vm.count("description"))
;
+ if (vm.count("description"))
printInfo.service = GetServiceByDescription(vm["service"].as<std::wstring>());
if (printInfo.service.empty()) {