From: djk Date: Mon, 18 Jan 1999 20:06:54 +0000 (+0000) Subject: changed sh/config to show no of users if known X-Git-Tag: R_1_23~4 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd5a9bf8711c676352b647705008bc59d66a354a;p=spider.git changed sh/config to show no of users if known --- diff --git a/cmd/show/configuration.pl b/cmd/show/configuration.pl index a7a1773b..f2f296e5 100644 --- a/cmd/show/configuration.pl +++ b/cmd/show/configuration.pl @@ -53,6 +53,9 @@ if ($list[0] && $list[0] =~ /^NOD/) { @val = values %{$nlist}; my $i = 0; + if (@val == 0 && $node->users) { + push @l, sprintf "(%d users)", $node->users; + } foreach $call (@val) { if ($i >= 5) { push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l;