Skip to content

Commit

Permalink
python/audit2allow: Remove unused "debug" option
Browse files Browse the repository at this point in the history
The option is not referenced anywhere in the code and I couldn't figure
out its purpose from the description.

Signed-off-by: Vit Mojzis <[email protected]>
  • Loading branch information
vmojzis authored and bachradsusi committed May 11, 2023
1 parent 97ec1f7 commit 820f019
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/audit2allow/audit2allow
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ class AuditToPolicy:
parser.add_option("--interface-info", dest="interface_info", help="file name of interface information")
parser.add_option("-x", "--xperms", action="store_true", dest="xperms",
default=False, help="generate extended permission rules")
parser.add_option("--debug", dest="debug", action="store_true", default=False,
help="leave generated modules for -M")
parser.add_option("-w", "--why", dest="audit2why", action="store_true", default=(os.path.basename(sys.argv[0]) == "audit2why"),
help="Translates SELinux audit messages into a description of why the access was denied")

Expand Down

0 comments on commit 820f019

Please sign in to comment.