REQ: Shell script exit status

If you want a shell script to return the status, then return that from the shell script.

curl -s wombat
echo $?

1 Like