From 616907aa2e82709538cb67bfda1fb2444793cbeb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 13 May 2014 20:32:44 +0200 Subject: Fix -lh not showing serviceless hosts (closes #14) --- bin/icli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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) { -- cgit v1.2.3