diff --git a/scripts/reinstall_ceilo_driver.sh b/scripts/reinstall_ceilo_driver.sh
index e4c5758f8f30c76fd208240599c5cccb83fdc56f..a6d004b1931655d8e3f2c1751c0cd295a2c79406 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