From 076ace4b433e4c4d8e2edd77714bf941a52d69d4 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 14 Nov 2016 22:04:54 +0100 Subject: [PATCH] Fixed TrapError shell color --- dev/ofunctions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 84add53..5db2324 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -475,7 +475,7 @@ function TrapError { local code="${2:-1}" 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 }