diff --git a/shared/templates/sysctl/oval.template b/shared/templates/sysctl/oval.template index 3e07db13ddc5..35a7e94d39e7 100644 --- a/shared/templates/sysctl/oval.template +++ b/shared/templates/sysctl/oval.template @@ -17,7 +17,7 @@ {{% endif %}} {{%- endmacro -%}} {{%- macro sysctl_match() -%}} - ^[\s]*{{{ SYSCTLVAR }}}[\s]*=[\s]*(.*)[\s]*$ + ^[\s]*{{{ SYSCTLVAR }}}[\s]*=[\s]*(.*\S)[\s]*$ 1 {{%- endmacro -%}} {{%- if "P" in FLAGS -%}}