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