From 161b2068135f6b83214872fdc9398c17369222f9 Mon Sep 17 00:00:00 2001 From: Alexandre Skrzyniarz Date: Thu, 20 Jun 2024 15:01:49 +0200 Subject: [PATCH] fix regex in sysctl template --- shared/templates/sysctl/oval.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/templates/sysctl/oval.template b/shared/templates/sysctl/oval.template index 3e07db13ddc5..ee629739b704 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 -%}}