Commit 81bc44cc by Michael DeHaan

Don't show tracebacks on Control-C.

parent 1119eceb
......@@ -270,4 +270,7 @@ if __name__ == "__main__":
except errors.AnsibleError, e:
display("ERROR: %s" % e, color='red', stderr=True)
sys.exit(1)
except KeyboardInterrupt, ke:
display("ERROR: interrupted", color='red', stderr=True)
sys.exit(1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment