From: minima Date: Mon, 6 Mar 2006 22:11:26 +0000 (+0000) Subject: make sure it's a row of 5 and not 4 X-Git-Tag: 1.54~119 X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=e8b741ad3a8df323116b5a42c833080e87ad3f5b make sure it's a row of 5 and not 4 --- diff --git a/cmd/show/configuration.pl b/cmd/show/configuration.pl index fe8acf96..7c4bbf27 100644 --- a/cmd/show/configuration.pl +++ b/cmd/show/configuration.pl @@ -66,7 +66,7 @@ if ($list[0] && $list[0] =~ /^NOD/) { push @l, sprintf "(%d users)", $node->usercount; } foreach $call (@val) { - if (@l >= 5) { + if (@l >= 6) { push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; @l = (); push @l, ""; @@ -80,7 +80,7 @@ if ($list[0] && $list[0] =~ /^NOD/) { } push @l, $s; } - push @l, "" while @l < 5; + push @l, "" while @l < 6; push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; } }