Fixed TrapError shell color

This commit is contained in:
deajan 2016-11-14 22:04:54 +01:00
parent 6bdd5b0a1a
commit 076ace4b43
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ function TrapError {
local code="${2:-1}" local code="${2:-1}"
if [ $_SILENT == false ]; then if [ $_SILENT == false ]; then
echo -e "\e[45m/!\ ERROR in ${job}: Near line ${line}, exit code ${code}" echo -e "\e[45m/!\ ERROR in ${job}: Near line ${line}, exit code ${code}\e[0m"
fi fi
} }