Really fix /etc/grml/lsb-functions :) 0.3.26
authorMichael Prokop <mika@grml.org>
Sat, 15 Sep 2007 11:53:28 +0000 (13:53 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 15 Sep 2007 11:53:28 +0000 (13:53 +0200)
etc/grml/lsb-functions

index d2df8c9..38baf15 100644 (file)
@@ -793,7 +793,7 @@ esac
 # width of [ ok ] == 7
 if [ "${COLS}" -eq 0 ] ; then
        COLS="$(stty size 2>/dev/null | cut -d' ' -f2)"
-       if [ -z "${COLS}" ] || [ "${COLS}" -gt 0 ] ; then
+       if [ -z "${COLS}" ] || [ "${COLS}" -le 0 ] ; then
                COLS=80
        fi
 fi