saltstack/salt — pull request #378 by SEJeff (2011-12-21 03:11:45+00:00)
Title: Teach all non-daemon scripts how to cleanly exit on CTRL-c

Pretty straightforeward and catches KeyboardInterrupts.