summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/icli2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/icli b/bin/icli
index 641893f..5359093 100755
--- a/bin/icli
+++ b/bin/icli
@@ -993,7 +993,7 @@ foreach my $group (@for_groups) {
}
if ( @list_hosts == 0 ) {
- @list_hosts = sort keys %{ $data->{services} };
+ @list_hosts = sort keys %{ $data->{hosts} };
}
if (@list_services) {