summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/icli6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/icli b/bin/icli
index 303021d..a5ecb4b 100755
--- a/bin/icli
+++ b/bin/icli
@@ -463,16 +463,16 @@ sub display_host_services {
elsif ($h->{'current_state'} == 2) {
print colored('UNREACHABLE', 'white on_blue');
}
- }
- print "\n";
+ print "\n";
+ }
foreach my $service (@services) {
if ($all and $verbosity < 3) {
print "\t";
}
- else {
+ elsif ($all) {
print "\n";
}