Skip to content

Commit

Permalink
fix regex in sysctl template
Browse files Browse the repository at this point in the history
  • Loading branch information
a-skr committed Jul 4, 2024
1 parent 8d8c149 commit 161b206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/templates/sysctl/oval.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{% endif %}}
{{%- endmacro -%}}
{{%- macro sysctl_match() -%}}
<ind:pattern operation="pattern match">^[\s]*{{{ SYSCTLVAR }}}[\s]*=[\s]*(.*)[\s]*$</ind:pattern>
<ind:pattern operation="pattern match">^[\s]*{{{ SYSCTLVAR }}}[\s]*=[\s]*(\S*)[\s]*$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
{{%- endmacro -%}}
{{%- if "P" in FLAGS -%}}
Expand Down

0 comments on commit 161b206

Please sign in to comment.