summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2015-10-30 03:58:52 (GMT)
committerAlexey Neyman <stilor@att.net>2015-10-30 23:24:52 (GMT)
commitb2f8afef8532247c60764fffc938898903c06a4c (patch)
tree6bd2fbf1aafab2543a1ae3dc2bb1a4dc65c0f0be /scripts/functions
parent5844514e74eac69b71c1e1661676dd88e4450610 (diff)
Interpret escape sequences in CT_DoLog.
Otherwise, CT_Abort messages with \n are not displayed properly. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 91ec217..2261b8d 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -178,7 +178,7 @@ CT_DoLog() {
if [ $# -eq 0 ]; then
cat -
else
- printf "%s\n" "${*}"
+ echo -e "${*}"
fi |( IFS="${CR}" # We want the full lines, even leading spaces
_prog_bar_cpt=0
_prog_bar[0]='/'