X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fconfiguration.pl;h=7c3281eadb8f193818ec555ee678d580ff69c163;hb=ae313f260d904cd45b58e4d1e620a49aef1a42c9;hp=fe8acf9678c4027224ba65e7456570e97a31588f;hpb=679037f49e292b15a73dce96699c15b9e3049711;p=spider.git diff --git a/cmd/show/configuration.pl b/cmd/show/configuration.pl index fe8acf96..7c3281ea 100644 --- a/cmd/show/configuration.pl +++ b/cmd/show/configuration.pl @@ -28,7 +28,7 @@ if ($list[0] && $list[0] =~ /^NOD/) { push @l, $call; foreach my $ref (@val) { - if (@l >= 5) { + if (@l >= 6) { push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; @l = (); push @l, ""; @@ -38,7 +38,7 @@ if ($list[0] && $list[0] =~ /^NOD/) { $s = sprintf "(%s)", $s unless $ref->here; push @l, $s; } - push @l, "" while @l < 5; + push @l, "" while @l < 6; push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; } } else { @@ -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; } }