Skip to content

Commit 809a4c2

Browse files
author
Paul Gale
committed
Update sed switches
1 parent c8289a6 commit 809a4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
$qvalue = shellquote("${value}")
9191
# lint:endignore
9292
exec { "enforce-sysctl-value-${qtitle}":
93-
unless => "/usr/bin/test \"$(/sbin/sysctl -n ${qtitle} | sed -r 's/[ \t]+/ /g')\" = ${qvalue}",
93+
unless => "/usr/bin/test \"$(/sbin/sysctl -n ${qtitle} | sed -e -r 's/[ \t]+/ /g')\" = ${qvalue}",
9494
command => "/sbin/sysctl -w ${qtitle}=${qvalue}",
9595
}
9696
}

0 commit comments

Comments
 (0)