Only put login_cap(3) in SEE ALSO section if we have login.conf support
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 19 Feb 2008 18:21:41 +0000 (18:21 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 19 Feb 2008 18:21:41 +0000 (18:21 +0000)
sudo.man.pl
sudo.pod

index 91ea24db48f20959dcbe619f89e4602a328802c9..4d23fbde23c9bffd976b6fc28b546ee336d5a676 100644 (file)
@@ -8,7 +8,7 @@ if (/^\.IP(.*-([acrt]))?/) {
     $t = $1 ? $tags{$2} : undef;
 } elsif (/-a.*auth_type/) {
     $_ = $tags{'a'} . $_;
-} elsif (/-c.*class.*\|/) {
+} elsif (/(-c.*class.*\||login_cap)/) {
     $_ = $tags{'c'} . $_;
 } elsif (/-r.*role.*-t.*type/) {
     $_ = $tags{'r'} . $_;
index d298b10617cb4f3812ad6ec2285b39661c38d000..e2d19377bd4d1590e8225c0a6a06c684d9fdf732 100644 (file)
--- a/sudo.pod
+++ b/sudo.pod
@@ -564,8 +564,9 @@ to make the C<cd> and file redirection work.
 
 =head1 SEE ALSO
 
-L<grep(1)>, L<su(1)>, L<stat(2)>, L<login_cap(3)>, L<passwd(5)>,
-L<sudoers(5)>, L<visudo(8)>
+L<grep(1)>, L<su(1)>, L<stat(2)>,
+L<login_cap(3)>,
+L<passwd(5)>, L<sudoers(5)>, L<visudo(8)>
 
 =head1 AUTHORS