diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py index 4bd9ee4ec..e39a794b9 100644 --- a/utils/apparmor/aa.py +++ b/utils/apparmor/aa.py @@ -1127,7 +1127,7 @@ def handle_children(profile, hat, root): nt_name = None for entr in m: if aa[profile][hat]['allow']['path'].get(entr, False): - nt_name = aa[profile][hat] + nt_name = entr break if to_name and to_name != nt_name: pass