aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/functions.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-07-20 01:02:56 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-07-20 01:02:56 +0000
commitedc42bbf45fe1d67dbb4bf993188d7eeb20442cb (patch)
tree78f08931d334cd5386d89c6f00ba924211a87dfc /chapter07/functions.xml
parentcccc5902e13126d87ede30dba5dac51c760bd28d (diff)
Fix & symbol cock up (again...)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/functions.xml')
-rw-r--r--chapter07/functions.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/functions.xml b/chapter07/functions.xml
index 748be6fd7..fb99da658 100644
--- a/chapter07/functions.xml
+++ b/chapter07/functions.xml
@@ -29,8 +29,8 @@ the following command:
# Get the console device if we don't have it already
# This is ok by the FHS as there is a fallback if
# /usr/bin/tty isn't available, for example at bootup.
- test -x /usr/bin/tty && CONSOLE=`/usr/bin/tty`
- test -z "$CONSOLE" && CONSOLE=/dev/console
+ test -x /usr/bin/tty &amp;&amp; CONSOLE=`/usr/bin/tty`
+ test -z "$CONSOLE" &amp;&amp; CONSOLE=/dev/console
# Get the console size (rows columns)
SIZE=$(stty size &lt; $CONSOLE)