mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 11:24:35 +02:00
[ticket/10093] Use correct ANSI code for clearing color.
PHPBB3-10093
This commit is contained in:
@ -88,11 +88,11 @@ complain()
|
|||||||
if [ "$1" = "-n" ]
|
if [ "$1" = "-n" ]
|
||||||
then
|
then
|
||||||
echo "$@"
|
echo "$@"
|
||||||
printf "\033[10m"
|
printf "\033[0m"
|
||||||
else
|
else
|
||||||
# This will print one trailing space.
|
# This will print one trailing space.
|
||||||
# Not sure how to avoid this at the moment.
|
# Not sure how to avoid this at the moment.
|
||||||
echo "$@" $(printf "\033[10m")
|
echo "$@" $(printf "\033[0m")
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$@"
|
echo "$@"
|
||||||
|
Reference in New Issue
Block a user