From 5380ca0e56d929a3700ab9c4079bb7fbd1976710 Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Wed, 21 Jul 2021 00:43:41 +0000
Subject: [PATCH] Fix driver reinstall script exiting too early

---
 scripts/reinstall_ceilo_driver.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/reinstall_ceilo_driver.sh b/scripts/reinstall_ceilo_driver.sh
index e4c5758..a6d004b 100755
--- a/scripts/reinstall_ceilo_driver.sh
+++ b/scripts/reinstall_ceilo_driver.sh
@@ -44,7 +44,7 @@ cd "${SRC_DIR}/kernel3.x"
 spawn ./mxinst SP1
 expect "Do you want to enable secure function?"
 send -- "N\r"
-expect eof
+expect "Installation process is completed."
 EOF
 )
 
@@ -56,4 +56,4 @@ status=$?
 if [ $? -ne 0 ]; then
     echo "ERROR: Could not install driver"
     exit 1
-fi
\ No newline at end of file
+fi
-- 
GitLab