Basically, it means that an outcome can be more or less morally permissible depending on whether you actually intended it to happen when you acted—like, when we kill someone in self-defense, we intended only to save our own innocent life, and the result was that someone else died.