summaryrefslogtreecommitdiff
path: root/bin/icli
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-05-13 20:32:44 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-05-13 20:32:44 +0200
commit616907aa2e82709538cb67bfda1fb2444793cbeb (patch)
tree093b5399b18e77b93b7a3b4f0a83f5a359509836 /bin/icli
parent946f94e5c27d2b066243ad80579228fad34e1b17 (diff)
Fix -lh not showing serviceless hosts (closes #14)
Diffstat (limited to 'bin/icli')
-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) {