diff -r 3d480d12124e -r 9bafe9c8f0b3 scripts/functions --- a/scripts/functions Tue Jan 25 21:59:03 2011 +0100 +++ b/scripts/functions Thu Apr 07 11:52:23 2011 +0200 @@ -105,7 +105,7 @@ printf "[%-5s]%*s%s%s\n" "${cur_L}" "${indent}" " " "${line}" if [ ${cur_l} -le ${max_level} ]; then # Only print to console (fd #6) if log level is high enough. - printf "\r[%-5s]%*s%s%s\n" "${cur_L}" "${indent}" " " "${line}" >&6 + printf "${CT_LOG_PROGRESS_BAR:+\r}[%-5s]%*s%s%s\n" "${cur_L}" "${indent}" " " "${line}" >&6 fi if [ "${CT_LOG_PROGRESS_BAR}" = "y" ]; then printf "\r[%02d:%02d] %s " $((SECONDS/60)) $((SECONDS%60)) "${_prog_bar[$((_prog_bar_cpt/10))]}" >&6