capture.sh: fast fail