summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-11-18 22:55:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2010-11-18 22:55:52 +0100
commit6ab4d8130cc51be36c0d26760009eeb8e7881e2c (patch)
tree1e642273b07c22405899778fe894d6bdc53d93ea
parent474f9d3ec5e7313b1917880ad8424073a5ed80c3 (diff)
Fix @for_services relics
-rwxr-xr-xbin/icli6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/icli b/bin/icli
index 7e9d2d7..1ca9efb 100755
--- a/bin/icli
+++ b/bin/icli
@@ -291,8 +291,8 @@ sub display_host_services {
if (
($short and not $service->{current_state})
- or (@for_services and not
- ($service->{service_description} ~~ [@for_services])
+ or (@list_services and not
+ ($service->{service_description} ~~ [@list_services])
)) {
next;
}
@@ -432,7 +432,7 @@ elsif ($recheck) {
recheck_host_all($host);
}
else {
- foreach my $service (@for_services) {
+ foreach my $service (@list_services) {
recheck_service($host, $service);
}
}