Make sure the command did not failed.