]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Tried to make stty quite.
authorRonald Wiesinger <rowie@ipfire.org>
Wed, 14 Jan 2009 22:41:31 +0000 (23:41 +0100)
committerRonald Wiesinger <rowie@ipfire.org>
Wed, 14 Jan 2009 22:41:31 +0000 (23:41 +0100)
tools/make-beautify

index f189d4ab9cbc07d61139414e9a34dc443804fda5..94d5b3911cfef5c532b56cf0f55068e8a4b82512 100644 (file)
@@ -27,7 +27,7 @@
 ## Screen Dimentions
 # Find current screen size
 if [ -z "${COLUMNS}" ]; then
-       COLUMNS=$(stty size)
+       COLUMNS=$(stty size 2>/dev/null)
        COLUMNS=${COLUMNS##* }
 fi