
24 Jun
2020
24 Jun
'20
4:09 p.m.
commit 3637b58c68f17982de06c7f0b14a3f3d72762140 Author: Nick Mathewson <nickm@torproject.org> Date: Wed Jun 24 12:09:40 2020 -0400 fix unset-variable error in warnings.sh --- tools/warnings.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/warnings.sh b/tools/warnings.sh index c3b3432..f481639 100755 --- a/tools/warnings.sh +++ b/tools/warnings.sh @@ -127,6 +127,10 @@ if [ -t 1 ]; then NC=$(tput sgr0) YELLOW=$(tput setaf 3) GREEN=$(tput setaf 2) +else + NC="" + YELLOW="" + GREEN="" fi NAME=$(basename "$0")