mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-04 00:05:14 +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:
|
if options:
|
||||||
options.append('capability %s' % capability)
|
options.append('capability %s' % capability)
|
||||||
q['options'] = [options]
|
q['options'] = options
|
||||||
q['selected'] = default_option - 1
|
q['selected'] = default_option - 1
|
||||||
|
|
||||||
q['headers'] = [_('Profile'), combine_name(profile, hat)]
|
q['headers'] = [_('Profile'), combine_name(profile, hat)]
|
||||||
|
Reference in New Issue
Block a user