SVN: rc-scripts/trunk/rc.d/init.d/functions

arekm arekm at pld-linux.org
Thu Jul 16 20:09:57 CEST 2009


Author: arekm
Date: Thu Jul 16 20:09:57 2009
New Revision: 10420

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
Update LINES correctly.

Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Thu Jul 16 20:09:57 2009
@@ -25,7 +25,7 @@
 	_setterm
 	unset _setterm
 fi
-[ -z "$LINES" -o "$LINES" -le 0 ] && COLUMNS=40
+[ -z "$LINES" -o "$LINES" -le 0 ] && LINES=40
 [ -z "$COLUMNS" -o "$COLUMNS" -le 0 ] && COLUMNS=80
 export LINES COLUMNS
 INIT_COL=$((COLUMNS - 13))


More information about the pld-cvs-commit mailing list