1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-03 21:15:42 +02:00

[ticket/10093] Use correct ANSI code for clearing color.

PHPBB3-10093
This commit is contained in:
Oleg Pudeyev 2011-12-03 16:42:04 -05:00
parent 88cad5523e
commit 8e59699424

View File

@ -88,11 +88,11 @@ complain()
if [ "$1" = "-n" ]
then
echo "$@"
printf "\033[10m"
printf "\033[0m"
else
# This will print one trailing space.
# Not sure how to avoid this at the moment.
echo "$@" $(printf "\033[10m")
echo "$@" $(printf "\033[0m")
fi
else
echo "$@"