summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xticker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ticker.sh b/ticker.sh
index fb112ee..7606940 100755
--- a/ticker.sh
+++ b/ticker.sh
@@ -69,7 +69,7 @@ for symbol in $(IFS=' '; echo "${SYMBOLS[*]}" | tr '[:lower:]' '[:upper:]'); do
percent=$(query $symbol 'regularMarketChangePercent')
fi
- if [ "$diff" == "0" ]; then
+ if [ "$diff" == "0" ] || [ "$diff" == "0.0" ]; then
color=
elif ( echo "$diff" | grep -q ^- ); then
color=$COLOR_RED