Yeah, it checks every command to make sure it worked and stops with a helpful error message if one fails.  Otherwise it would just try to execute all these invalid commands and break stuff.