From cd5a9bf8711c676352b647705008bc59d66a354a Mon Sep 17 00:00:00 2001 From: djk Date: Mon, 18 Jan 1999 20:06:54 +0000 Subject: [PATCH] changed sh/config to show no of users if known --- cmd/show/configuration.pl | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.43.0