prefix
This commit is contained in:
parent
d90f0fd6ef
commit
ea17fc995a
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ _sh_log() {
|
|||
shift
|
||||
local line
|
||||
for line in "${@}"; do
|
||||
printf "%s" "${prefix}"
|
||||
echo " ${line}"
|
||||
[ -n "${prefix}" ] && printf "%s" "${prefix} "
|
||||
echo "${line}"
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue