saltstack/salt — pull request #1513 by wilkystyle (2012-06-29 16:50:33+00:00)
Title: Develop

Previously, when globbing by either an empty string, or by a string which does not match any minions, Salt would state that it failed to connect to the master, even though this is not true.

By changing the returned value for jid to None instead of '0', it now correctly states that no minions matched the search string.