Merge branch 'master' into preos

This commit is contained in:
Nico Schottelius 2014-01-21 16:46:22 +01:00
commit 5f79efb201
2 changed files with 2 additions and 1 deletions

View file

@ -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)