mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-07-11 18:11:04 -04: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 () {
|
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