fix(demo): use exit in express test script (no enclosing function)

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Yang Jun
2026-07-09 00:02:01 +08:00
co-authored by Cursor
parent 1ee02db7cc
commit e57c28a89b
+1 -1
View File
@@ -7,7 +7,7 @@ while ! grep -q "Express running" "$LOG_FILE"; do
if ! kill -0 $SERVER_PID; then
echo "Server exited unexpectedly."
cat $LOG_FILE
return 1
exit 1
fi
sleep 1
done