fix print_prefixed to always add a newline

This commit is contained in:
Patrick Stadler 2015-03-22 20:03:10 +01:00
parent 5dbb3ad1d7
commit 77629720aa
1 changed files with 1 additions and 1 deletions

View File

@ -24,5 +24,5 @@ unique_id () {
}
print_prefixed () {
printf "$2" | sed -e "s/^/$1/g"
printf "$2\n" | sed -e "s/^/$1/g"
}