Don't iterate through retcodes twice
Don't iterate through retcodes twice

This use a generator comprehension to stop iteration as soon as a
nonzero retcode is found.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt