Merge branch 'master' into preos
This commit is contained in:
commit
5f79efb201
2 changed files with 2 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ case "$state_should" in
|
|||
|
||||
# Only replace ' with '"'"' and keep \ as they are
|
||||
line_sanitised=$(cat "$__object/parameter/line" | sed -e "s/'/'\"'\"'/g")
|
||||
echo "printf '%s\n' '$line_sanitised' >> $file"
|
||||
printf '%s' "printf '%s\n' '$line_sanitised' >> $file"
|
||||
|
||||
;;
|
||||
absent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue