Pay attention to shelled command's exit status and bail is something goes wrong.