mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-02-28 13:59:12 -05:00
fix print_prefixed to always add a newline
This commit is contained in:
parent
5dbb3ad1d7
commit
77629720aa
@ -24,5 +24,5 @@ unique_id () {
|
||||
}
|
||||
|
||||
print_prefixed () {
|
||||
printf "$2" | sed -e "s/^/$1/g"
|
||||
printf "$2\n" | sed -e "s/^/$1/g"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user