diff --git a/utils/apparmor/rule/mount.py b/utils/apparmor/rule/mount.py index f5d813c7f..9017ce730 100644 --- a/utils/apparmor/rule/mount.py +++ b/utils/apparmor/rule/mount.py @@ -58,7 +58,7 @@ option_pattern = r'\s*(\boption(s?)\b\s*(?P=|in)\s*'\ # allow any order of fstype and options # Note: also matches if multiple fstype= or options= are given to keep the regex simpler -mount_condition_pattern = rf'({fs_type_pattern}\s*|{option_pattern}?\s*)*' +mount_condition_pattern = rf'({fs_type_pattern}\s*|{option_pattern}\s*)*' # Source can either be # - A path : /foo