saltstack/salt — pull request #18918 by cachedout (2014-12-11 18:41:47+00:00)
Title: Make salt cli return a non-zero error code if an error occurred

We have all the logic in the CLI to do this, but we never actually passed a retcode in. (This is likely a regression.)