Checking with set +e and -e