From 041b73d3755e62b850c9046a9f0370be677ce1cc Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Wed, 24 Jan 2024 23:37:23 +0800 Subject: [PATCH] Update expect.sh --- expect.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/expect.sh b/expect.sh index 8f618bb..19c760e 100644 --- a/expect.sh +++ b/expect.sh @@ -10,6 +10,7 @@ send -s "ostest\r" set timeout 120 expect { - "ostest_main: Exiting with status 0" { exit 0 } + "ostest_main: Exiting with status -1" { exit 0 } timeout { exit 1 } } +exit 2