(minor) warning message clarity

Using a username in an unused group name will still cause the warning,
but the message was misleading in that context
This commit is contained in:
Sitaram Chamarty 2011-12-25 20:46:54 +05:30
parent f0d712ed4e
commit bc09564ab6

View file

@ -1107,9 +1107,9 @@ sub setup_authkeys
# lint check 2 -- print less noisily # lint check 2 -- print less noisily
if (@not_in_config > 10) { if (@not_in_config > 10) {
print STDERR "$WARN You have " . scalar(@not_in_config) . " pubkeys that do not appear to be used in the config\n"; print STDERR "$WARN You have " . scalar(@not_in_config) . " pubkeys that do not appear to be used in any access rules\n";
} elsif (@not_in_config) { } elsif (@not_in_config) {
print STDERR "$WARN the following users (pubkey files in parens) do not appear in the config file:\n", join(",", sort @not_in_config), "\n"; print STDERR "$WARN the following users (pubkey files in parens) do not appear in any access rules:\n", join(",", sort @not_in_config), "\n";
} }
# lint check 3; a little more severe than the first two I guess... # lint check 3; a little more severe than the first two I guess...