scripts/log: do not interpret log string as printf format

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2010-08-26 23:36:54 +02:00
parent 80bc8d6d01
commit ae715a0a3c

View File

@ -79,7 +79,7 @@ CT_DoLog() {
if [ $# -eq 0 ]; then
cat -
else
printf "${*}\n"
printf "%s\n" "${*}"
fi |( IFS="${CR}" # We want the full lines, even leading spaces
_prog_bar_cpt=0
_prog_bar[0]='/'