mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Fix incorrect options being displayed for capabilites in aa.py
The following patch: - ensures the options are passed correctly in the expected form. Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
@@ -1556,7 +1556,7 @@ def ask_the_questions():
|
||||
|
||||
if options:
|
||||
options.append('capability %s' % capability)
|
||||
q['options'] = [options]
|
||||
q['options'] = options
|
||||
q['selected'] = default_option - 1
|
||||
|
||||
q['headers'] = [_('Profile'), combine_name(profile, hat)]
|
||||
|
Reference in New Issue
Block a user