Print exit code if script fails