while true; do echo A; break; echo B; done
echo OK:$?