]> granicus.if.org Git - sudo/commitdiff
Don't remove the -S option description when trimming out selinux.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Feb 2013 11:03:36 +0000 (06:03 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Feb 2013 11:03:36 +0000 (06:03 -0500)
Bug #592

doc/fixmdoc.sh

index 6171f3edb656620ac65392d148897ac374dc0c61..1995900f7cd3bf4cdd14053983229e0d1b845e94 100755 (executable)
@@ -47,7 +47,7 @@ case "$OUTFILE" in
        if [ X"$SEMAN" != X"1" ]; then
                SE_FLAG='/^.*\n\.Op Fl r Ar role/{;N;/^.*\n\.Ek$/d;};/^.*\n\.Op Fl t Ar type/{;N;/^.*\n\.Ek$/d;};'
                cat >>"$OUTFILE" <<-'EOF'
-                       /^\.It Fl r Ar role/,/newline character\.$/ {
+                       /^\.It Fl r Ar role/,/^\.Ar role \.$/ {
                                d
                        }
                        /^\.It Fl t Ar type/,/specified role\.$/ {