about summary refs log tree commit diff
path: root/Functions/TCP/tcp_expect
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/TCP/tcp_expect')
-rw-r--r--Functions/TCP/tcp_expect1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/TCP/tcp_expect b/Functions/TCP/tcp_expect
index e49f93804..1c63b8def 100644
--- a/Functions/TCP/tcp_expect
+++ b/Functions/TCP/tcp_expect
@@ -84,6 +84,7 @@ while getopts "al:p:qs:t:T:" _expect_opt; do
 done
 (( OPTIND > 1 )) && shift $(( OPTIND - 1 ))
 
+typeset -ga tcp_expect_lines
 tcp_expect_lines=()
 while true; do
   if (( _expect_to_all || _expect_to1 )); then