saltstack/salt — pull request #12221 by techhat (2014-04-23 13:31:29+00:00)
Title: Correctly check for a terminated state

Ping @UtahDave.

Fixes #11934.