1 2 3 4 5 6 7 8 9 10
#!/bin/bash /opt/qa/build.sh RET=$? echo $RET if [ $RET -ne 0 ]; then exit 1 fi exit $RET