diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-11-18 22:55:52 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-11-18 22:55:52 +0100 |
commit | 6ab4d8130cc51be36c0d26760009eeb8e7881e2c (patch) | |
tree | 1e642273b07c22405899778fe894d6bdc53d93ea | |
parent | 474f9d3ec5e7313b1917880ad8424073a5ed80c3 (diff) |
Fix @for_services relics
-rwxr-xr-x | bin/icli | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } } |