Hmmm. Not necessarily. I mean if what you did does not change the outcome in any way, then is what you did even evil? If you have no marginal impact, can you ever do good or evil? I am not sure actually.
I realize that this could also apply to lower rank soldiers involved in some war crimes, etc. so I guess it is not that clear cut. But would you blame a random soldier of lowest rank for carrying out terrible orders and not risking himself(or his family)? Well I don't know. I guess I would not.
Of course, the stakes are rarely that high, but the harm done is also rarely that high also.