Why no checking if the cmd failed?