saltstack/salt — pull request #3129 by shadowfax-chc (2013-01-03 13:25:55+00:00)
Title: patch to fix #2640

Changed _run to not set stdout=None when retcode=True
See bug #2640 for more details

Not sure if this is the best solution, but it does allow cmd.retcode to function in all cases. Currently cmd.retcode is causing other commands to break such as ebuild.upgrade