summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/isolated-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 09854b282..2bb98aee1 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -371,7 +371,7 @@ set_colors() {
(( COLS > 0 )) || (( COLS = 80 ))
COLS=$((${COLS} - 8)) # width of [ ok ] == 7
# Adjust COLS so that eend works properly on a standard BSD console.
- [ "${TERM}" = "cons25" ] && COLS=$((${COLS} - 1))
+ [[ $TERM = cons25 || $TERM = dumb ]] && ((COLS--))
# Now, ${ENDCOL} will move us to the end of the
# column; irregardless of character width