diff options
-rwxr-xr-x | ticker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |