diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py index 23c6b729f..f9cd871e8 100644 --- a/utils/apparmor/aa.py +++ b/utils/apparmor/aa.py @@ -992,7 +992,7 @@ def handle_children(profile, hat, root): hat = default_hat elif ans == 'CMD_DENY': # As unknown hat is denied no entry for it should be made - return None + continue elif typ == 'capability': # If capability then we (should) have pid, profile, hat, program, mode, capability