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)

View File

@ -9,6 +9,7 @@ Changelog
* Core: Add environment variable to select shell for executing scripts (Daniel Heule)
* Explorer hostname: Return host name by using uname -n
* New Type: __hostname (Steven Armstrong)
* Type __line: Use printf instead of echo for printing user input
3.0.2: 2014-01-19
* Documentation: Document all messages sent by types (Daniel Heule)