mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
Merge branch 'cboltz-status-parenthesis' into 'master'
aa-status: handle profile names containing '(' Closes #51 See merge request apparmor/apparmor!415 Acked-by: John Johansen <john.johansen@canonical.com> for 2.10..master (cherry picked from commitb76567ce10
)41d26b01
aa-status: handle profile names containing '('
This commit is contained in:
@@ -148,7 +148,7 @@ def get_profiles():
|
||||
sys.exit(4)
|
||||
|
||||
for p in f.readlines():
|
||||
match = re.search("^([^\(]+)\s+\((\w+)\)$", p)
|
||||
match = re.search("^(.+)\s+\((\w+)\)$", p)
|
||||
profiles[match.group(1)] = match.group(2)
|
||||
|
||||
f.close()
|
||||
|
Reference in New Issue
Block a user