summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-11-20 05:18:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2010-11-20 05:18:54 +0100
commit32c7efe64bc0904bcbb3eecf498ba6f0bf3ad195 (patch)
tree8f62b26bc18655d8028083785bbb6bd74a42a356
parent0e89dfb3bdeb7c5bdc932f17354adc6061b301d7 (diff)
Fix output
-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";
}