From eeecdb113ae62f1dc190c60cc369dd4681881214 Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 6 Mar 2006 22:11:26 +0000 Subject: [PATCH] make sure it's a row of 5 and not 4 --- cmd/show/configuration.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.43.0