aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-07-19 21:10:06 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-07-19 21:10:06 +0800
commit2d30be476b83ca5370c2a46d685eff1ed7733141 (patch)
treeed82f735b4023d4275583700da88b949f313bc16
parentd0725734644f7641a10011cf72f0e1d3d04f6f30 (diff)
bash: use eof in expect commands instead of EOF
(for jhalfs)
-rw-r--r--chapter08/bash.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter08/bash.xml b/chapter08/bash.xml
index 7381c9e87..c2a5e807b 100644
--- a/chapter08/bash.xml
+++ b/chapter08/bash.xml
@@ -80,7 +80,7 @@
class="username">tester</systemitem> user:</para>
<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
-spawn make tests; expect EOF;
+spawn make tests; expect eof;
EOF</userinput></screen>
<para>Install the package:</para>